[Samba] "ldap passwd sync" not working
Alexander Zubkov
green at sectorb.msk.ru
Sat Feb 5 19:17:07 GMT 2005
In debug mode smbpasswd say this:
---- samba 3.0.6 ----
# smbpasswd -D 4 test
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DOMAIN))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesfully connected
New SMB password:
Retype new SMB password:
init_sam_from_ldap: Entry found for user: test
ldapsam_update_sam_account: user test to be modified has dn: cn=test,
ou=People, dc=domain,dc=my
init_ldap_from_sam: Setting entry for user: test
ldapsam_modify_entry: LDAP Password changed for user test
ldapsam_update_sam_account: successfully modified uid = test in the LDAP
database
--------
---- samba 3.0.11 ----
[root at bases samba]# smbpasswd -D 3 test
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DOMAIN))]
smbldap_open_connection: connection opened
smbldap_check_root_dse: Expected one rootDSE, got 0
ldap_connect_system: succesful connection to the LDAP server
ldap_connect_system: LDAP server does not support paged results
New SMB password:
Retype new SMB password:
smbldap_open_connection: connection opened
smbldap_check_root_dse: Expected one rootDSE, got 0
ldap_connect_system: succesful connection to the LDAP server
ldap_connect_system: LDAP server does not support paged results
init_sam_from_ldap: Entry found for user: test
init_ldap_from_sam: Setting entry for user: test
smbldap_open_connection: connection opened
smbldap_check_root_dse: Expected one rootDSE, got 0
ldap_connect_system: succesful connection to the LDAP server
ldap_connect_system: LDAP server does not support paged results
smbldap_check_root_dse: Expected one rootDSE, got 0
ldap password change requested, but LDAP server does not support it --
ignoring
ldapsam_update_sam_account: successfully modified uid = test in the LDAP
database
--------
Why samba-3.0.6 can sync password and samba-3.0.11 say that may LDAP
server does not support it? Any ideas?
----
Alexander Zubkov
More information about the samba
mailing list