歡迎您光臨本站 註冊首頁

關於samba加入域后的一個應用

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

關於samba加入域后的一個應用

我的linux已經通過samba+winbind加入域了,wbinfo -u和-g能夠讀出域用戶和組。

現在問題是,我的需求是要建一個共享給域用戶的目錄,這個目錄需要域內的只有可以訪問的用戶才能訪問。這樣怎麼做呢?


給大家看一下我的smb.conf



        workgroup = TEST
        netbios name = SHAER-NTP
        server string = Samba &ADS Test Server
        security = ads
        password server = 10.168.168.226
        realm = TEST.COM
        winbind use default domain = yes
        log file = /var/log/samba.log
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum groups = yes
        winbind enum users = yes
        winbind separator = /
        winbind use default domain = yes
        template homedir = /home/%D/%U
        template shell = /bin/bash
        os level =20
        dns proxy = no
《解決方案》

workgroup = TEST
這樣不是可以了么

[火星人 ] 關於samba加入域后的一個應用已經有622次圍觀

http://coctec.com/docs/service/show-post-17811.html