[Samba] Unix-password-sync in LDAP?
Matthias Spork
hallo at matthiasspork.de
Mon Apr 4 17:34:50 GMT 2005
Hello,
how can I change the user-passwords correctly in my OpenLDAP during
Windows-password-change?
My problem: The script does only change "userPassword", but not the
field "shadowLastChange", so my unix-passwords
expired.
unix password sync = yes
passwd program = /etc/samba/scripts/ldap_userPassword_change %u
passwd chat = *New*password* %n\n *new*password* %n\n *Success*
#/etc/samba/scripts/ldap_userPassword_change
ldappasswd -x -h server-D
'uid=userPassChange,ou=administration,o=dom,c=com' -w pass -S
uid=$1,ou=users,o=dom,c=com
Regards;
matze
More information about the samba
mailing list