On Mon, 2010-03-15 at 12:27 -0400, Gaiseric Vandal wrote: > > I am using Sun Directory Server. I believe that both the Sun > Directory > server and the RedHat/Fedora directory server are forks of the > earlier > Iplanet/Netscape directory server. The samba servers are running > on > 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- > if > root tries to change another user's password with "passwd -r ldap", > the > 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 ? Simo. -- Simo Sorce Samba Team GPL Compliance Officer <[email protected]> Principal Software Engineer at Red Hat, Inc. <[email protected]> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
