歡迎您光臨本站 註冊首頁

samba使用winbind 問題?

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

samba使用winbind 問題?

我把linux 加入 NT4 的網域,  使用 winbind 把linux 和 NT4 的帳號結合了.

wbinfo -u 可以從nT4中取得域帳號,

samba 是使用domain做驗證, 分享的目錄是通過winbind取得NT4帳號來設定許可權.
可是用windows 電腦 (如 windows 98) 登入到NT4網域后 無法進入 samba 分享的
目錄, 總提示IPC$ 和密碼.

這是為什麼呢? 難道不能使用Nt4的帳號嗎??

smb.conf 如下

--------------------------------------------------

   workgroup = Test.COM.CN
   server string = Linux File Server
   netbios name = IS7

   printcap name = /etc/printcap
   load printers = yes
   cups options = raw
   log file = /var/log/samba/%m.log
   max log size = 50
   dns proxy = no
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   security = domain
   password server = NTPDC

#===========Share Definitions =============
   idmap uid = 10000-20000
   idmap gid = 10000-20000
   template shell = /bin/bash
   winbind use default domain = yes


   comment = file share
   path = /home/share
   browseable = yes
   writable = yes

----------------------------------------------------------------

而/home/share 里有user1  ,  user2  , user3 目錄, 擁有者相應是user1 , user2 ,user3
帳號不使本機帳號, 是從NT4中取得.
《解決方案》

再經過測試把
security = domain
改為
security = server
就可以了, 但從網上資料找到 把 security 設為 server , smbd 必須與伺服器保持開放連接, 很快會耗盡PDC資源.

這是真的嗎?  有沒有辦法解決我上面的問題呢?

[火星人 ] samba使用winbind 問題?已經有517次圍觀

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