歡迎您光臨本站 註冊首頁

域控制問題

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

域控制問題

域建好後有些機子能正常登入域.但有些機子時不時出現域上有重名不能使用.查過所有機了,網上所有機器絕對沒有重名,請大家指點是什麼問題
《解決方案》

查看日誌是最好的解決辦法
《解決方案》

經多次試驗和總結問題已解決
關鍵是步驟問題
而且不是出在伺服器上是出在客戶端上
是由於XP域列表更新不及時而產生的
方法:先在伺服器上stop SMB---->然後重啟XP(在重啟後到了登陸窗時,會重近生成域控制列表)---->登入出錯------>start SMB---->再登入域成功,重名問題解決!
《解決方案》

域控制問題

# smbpasswd -a root
New SMB password:
Retype new SMB password:
failed to bind to server with dn= cn=Manager,dc=root,dc=com,dc=cn Error: Invalid credentials

Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
Connection to LDAP Server failed for the 1 try!
ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Invalid credentials)Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
Failed to add entry for user root.
Failed to modify password entry for user root
為什麼會出現這樣的錯誤呢?
謝謝關注
《解決方案》

域控制器

smb.conf配置清單
  encrypt passwords = yes
;  smb passwd file = /etc/samba/smbpasswd
passdb backend = ldapsam:ldap://192.168.3.20,guest
ldap suffix = "dc=wahtai,dc=com,dc=cn"
ldap machine suffix = ou=Computers
ldap user suffix = ou=users
ldap group suffix = ou=groups
ldap admin dn = "cn=Manager,dc=root,dc=com,dc=cn"
#ldap user suffix = dc=samba,dc=wahtai
ldap delete dn = no
# smbpasswd -a root
New SMB password:
Retype new SMB password:
failed to bind to server with dn= cn=Manager,dc=root,dc=com,dc=cn Error: Invalid credentials

Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
Connection to LDAP Server failed for the 1 try!
ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Invalid credentials)Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
Failed to add entry for user root.
Failed to modify password entry for user root
為什麼會出現這樣的錯誤呢?
謝謝關注
《解決方案》

testpram 看有沒有錯誤出現
《解決方案》

Bareword "print_banner" not allowed while "strict subs" in use at /usr/local/sbin/smbldap-populate line 53, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 70, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 132, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 139, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 147, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 151, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 151, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 152, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 152, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 153, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 153, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 154, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 155, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 155, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 157, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 157, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 160, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 161, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 162, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 171, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 171, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 171, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 171, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 190, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 191, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 197, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 210, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 210, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 211, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 223, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 223, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 224, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 228, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 228, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 229, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 231, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 231, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 232, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 236, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 236, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 236, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 264, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 264, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 265, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 269, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 269, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 270, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 272, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 272, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 273, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 277, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 431, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 431, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 432, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 432, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 441, <DATA> line 134.
Global symbol "%config" requires explicit package name at /usr/local/sbin/smbldap-populate line 479, <DATA> line 134.
Execution of /usr/local/sbin/smbldap-populate aborted due to compilation errors.現在又出現這樣的信息,請問該如何解決?
《解決方案》

小弟在實作 SAMBA+OPENLDAP時亦遇到同樣問題,請問樓主當時是如何解決這個問題的呢?
《解決方案》

樓主  rcazy

請教一下  這個重名的問題有沒有最終的解決方法呢   如果公司人很多的情況下 在用這中方法就很麻煩了吧
《解決方案》

沒有完全解決這個問題!現在在分析中!

[火星人 ] 域控制問題已經有471次圍觀

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