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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to