歡迎您光臨本站 註冊首頁

samba &AD

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

samba &AD

solaris sparc10上的samba成功加進AD,wbinfo -t /wbinfo -u /wbinfo -g 均能通過,也能看到AD上的帳號,nsswitch.conf也能配置好,但使用getent passwd、getent group卻看不到AD上的帳號?何解?
《解決方案》

回復 #1 pet-dtg 的帖子

自己頂一下
《解決方案》

我用的是rhel4和win2003 也看不到,當然客戶端在訪問時也有問題了。

系統一直在報錯,給看看

audit(1238670484.020:0): avc: denied {create} for  pid=4343(這個數字一直在變化) exe=/usr/sbin/winbindd name=winbindd.log scontext=root:system_r:winbind_t tcontext=root:object_r:samba_log_t  tclass=file
《解決方案》

回復 #3 bayuepiaoxiang 的帖子

是winbind的問題嗎?看看log.winbind
《解決方案》

回復 #1 pet-dtg 的帖子

一般在rhel上實現
《解決方案》

回復 #5 kns1024wh 的帖子

應該是可以實現的,苦找了好幾天,還沒找到解決的辦法:em16: x86上試過也是同樣的問題

[ 本帖最後由 pet-dtg 於 2009-4-8 15:14 編輯 ]
《解決方案》

回復 #1 pet-dtg 的帖子

我是centos ,貌似問題和你也一樣:emn20:
《解決方案》

回復 #7 balloon123 的帖子

解決了分享一下經驗:mrgreen:
《解決方案》

回復 #8 pet-dtg 的帖子

我的log.winbindd日誌出現這兩種種錯誤:
winbindd/winbindd.c:request_main_recv(672) malloc failed

winbindd/winbindd.c:request_len_recv(633)
  request_len_recv: Invalid request size received: 2088 (expected 2096)

log.smbd 出現的錯誤:
smbd version 3.2.10 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
smbd/server.c:main(1261)
  standard input is not a socket, assuming -D option


大家幫忙看看:mrgreen:

[ 本帖最後由 pet-dtg 於 2009-4-10 10:24 編輯 ]
《解決方案》

回復 #9 pet-dtg 的帖子

哈哈:mrgreen: :mrgreen: :mrgreen: ,問題解決,解決辦法如下(貌似libnss_winbind.so需要編譯安裝才能有):
# cp source/nsswitch/libnss_winbind.so /usr/lib
#
# ln -s /usr/lib/libnss_winbind.so /usr/lib/libnss_winbind.so.1
#
# ln -s /usr/lib/libnss_winbind.so /usr/lib/nss_winbind.so.1

不一樣的操作系統不盡相同,大家可以參考一下這篇文章:
http://wiki.samba.org/index.php/Samba_&_Active_Directory#Which_steps_must_be_done_to_run_Samba_with_AD-Integration

[ 本帖最後由 pet-dtg 於 2009-4-10 14:36 編輯 ]

[火星人 ] samba &AD已經有357次圍觀

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