[Samba] Samba/Unix password sync with LDAP backend
idra at samba.org
Mon Mar 15 10:33:33 MDT 2010
On Mon, 2010-03-15 at 12:27 -0400, Gaiseric Vandal wrote:
> I am using Sun Directory Server. I believe that both the Sun
> server and the RedHat/Fedora directory server are forks of the
> Iplanet/Netscape directory server. The samba servers are running
> Solaris. With a local (non-ldap) password, root can easily use the
> passwd command to change a user's password, since entering the old
> password is not required. But with ldap accounts this doesn't work-
> root tries to change another user's password with "passwd -r ldap",
> old password is required. Instead you need to use the "ldapasswd"
> command and authenticate as a user with the appropriate ldap
> administrative powers.
> my smb.conf includes
> passwd program = /etc/samba/smbldappasswd.sh %u
> passwd chat =*New* %n\n *changed*
> unix password sync = yes
Why don't you use "ldap passwd sync" instead ?
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba