samba 無法使用 LDAP 認證 - Linux

By Genevieve
at 2012-01-05T12:16
at 2012-01-05T12:16
Table of Contents
如題...
經過了一番波折後 成功的透過了SAMBA新增LDAP帳號進去了
但在驗證時出現了下面無法驗證的情況
[root@samba]# smbclient //192.168.0.*/test -U user
Server's Role (logon server) conflicts with share-level security
Enter user's password:(這邊輸入了正確的LDAP密碼 我直接用明碼複製貼上的)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.2.11-0.28.fc9]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_WRONG_PASSWORD
麻煩各位前輩們給予寶貴的建議
--
/etc/samba/smb.conf 設定如下
[global]
security = share
#這行不要動
ldap admin dn = "cn=Manager,dc=aaa,dc=aaa"
passdb backend = ldapsam:ldap://192.168.0.*
ldap delete dn = yes
ldap user suffix = "ou=login,dc=aaa,dc=aaa"
ldap group suffix = "dc=aaa,dc=aaa"
ldap ssl = off
# ldap port = 389
ldap suffix = "dc=aaa,dc=aaa"
# security = user
ldap machine suffix = ou=login
# ldap passwd sync = yes
# encrypt passwords = no
# ldap filter = "(&(uid=cn)(objectclass=top))"
client lanman auth = yes
# unix password sync = Yes
netbios name = pubfiles
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = workgroup
# server string is the equivalent of the NT Description field
server string = Samba Server
[TEST] <--測試用資料夾
path = /disk/ms_share/其他
security = user
# read only = No
browseable = yes
writable = yes
[資料夾] <--此資料夾可以正常使用
path = /disk/ms_share
only guest = yes
# public = yes
writable = yes
printable = no
--
Tags:
Linux
All Comments
Related Posts
gcin和法語鍵盤配置相衝?

By Caroline
at 2012-01-04T23:53
at 2012-01-04T23:53
mint 12筆電關機不順

By Cara
at 2012-01-04T19:48
at 2012-01-04T19:48
不用光碟安裝 centos 6的方法?

By Wallis
at 2012-01-04T01:14
at 2012-01-04T01:14
apache virtual host在/home下出錯

By Daph Bay
at 2012-01-03T18:55
at 2012-01-03T18:55
Win7 OEM 隨機版?

By Edwina
at 2012-01-03T17:49
at 2012-01-03T17:49