[Samba] problem with synchronize samba and unix password - ldap

adrian sender adrian_au1 at hotmail.com
Thu May 24 23:17:41 GMT 2007

It could be a problem with you slapd.conf & ACL's, you need something like 

access to attrs=userPassword
        by self write
        by dn="cn=Manager,dc=domainname,dc=com" write
        by * auth

access to attrs=sambaLMPassword,sambaNTPassword
        by dn="cn=Manager,dc=domainname,dc=com" write

access to *
        by dn="cn=Manager,dc=domainname,dc=com" write
        by * read

Samba needs access to this, replace "Manager" with the bind dn that samba 
uses to bind to the ldap database.


Adrian Sender.

>From: empirium <empirium at o2.pl>
>To: samba at lists.samba.org
>Subject: [Samba] problem with synchronize samba and unix password - ldap 
>Date: Thu, 24 May 2007 12:26:59 +0200
>I have a such problem.
>I have samba 3 as a PDC  with ldap as a authentication backend.
>When I use script  "smbldap-passwd user", samba password and unix password 
>is changing correct, but when i use Ctr+Alt+Del from windows computer samba 
>is changing corectly its password, and I see that unix password is also 
>changing but I cannot to log to system with that unix password.
>Somebody knows why?
>part of smb.conf
>ldap password sync = Yes
>#unix password sync = Yes
>passwd program = /usr/sbin/smbldap-passwd -u %u
>update encrypted = yes
>encrypt passwords = yes
>Thanks in advance

Advertisement: Its simple! Sell your car for just $30 at carsales.com.au 

More information about the samba mailing list