Hi, When a client try to change password : if sambaPwdCanChange = 2147483647 and sambaPwdMustChange = 1090923529 (for example) Samba would not change the password : I can find in log : user xxx cannot change password now, must wait until ven, 13 d?c 1901 21:45:51 GMT But, if I set the sambaPwdCanChange to 0, the password is changed but, the sambaPwdMustChange is not updated to next date. I use LDAP and password policy. The unix password sync = no Can anyone answer to this problem ? Thank you St?phane Purnelle ----------------------------------- St?phane PURNELLE stephane.purnelle@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467
Christian.Wittmer@intercomponentware.com
2004-Jul-27 11:01 UTC
[Samba] Changing password problem
Hi stephane, did you try ldap passwd sync = yes for me it worked. Christian Wittmer --------------------------------- B?ro/Office: +49 (0) 6227/385-120 Email: Christian.Wittmer@InterComponentWare.com InterComponentWare AG Otto-Hahn-Strasse 3 69190 Walldorf Zentrale/Main: +49 (6227) 385-100 http://www.intercomponentware.com http://www.lifesensor.com stephane.purnelle@corman.be Sent by: samba-bounces+christian.wittmer=intercomponentware.com@lists.samba.org 27.07.2004 12:49 To: samba@lists.samba.org cc: Subject: [Samba] Changing password problem Hi, When a client try to change password : if sambaPwdCanChange = 2147483647 and sambaPwdMustChange = 1090923529 (for example) Samba would not change the password : I can find in log : user xxx cannot change password now, must wait until ven, 13 d?c 1901 21:45:51 GMT But, if I set the sambaPwdCanChange to 0, the password is changed but, the sambaPwdMustChange is not updated to next date. I use LDAP and password policy. The unix password sync = no Can anyone answer to this problem ? Thank you St?phane Purnelle ----------------------------------- St?phane PURNELLE stephane.purnelle@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hi Christian, The ldap passwd sync is used for set if samba update LM, NT passwords and LDAP password or not the LDAP Password. But I read on the man of smb.conf : This option is used to define whether or not Samba should sync the LDAP password with the NT and LM hashes for normal accounts (NOT for workstation, server or domain trusts) on a password change via SAMBA. The ldap passwd sync can be set to one of three values: Yes = Try to update the LDAP, NT and LM passwords and update the pwdLastSet time. No = Update NT and LM passwords and update the pwdLastSet time. Only = Only update the LDAP password and let the LDAP server do the rest Why sambaPwdMustChange is not updated, samba must update sambaPwdMustChange if the password policy maximum password age is set. Maybe this options is corrected in 3.0.6 ? Thank you St?phane Purnelle ----------------------------------- St?phane PURNELLE stephane.purnelle@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467 Christian.Wittmer@intercompon entware.com Pour : stephane.purnelle@corman.be cc : samba@lists.samba.org 27/07/2004 13:00 Objet : Re: [Samba] Changing password problem Hi stephane, did you try ldap passwd sync = yes for me it worked. Christian Wittmer --------------------------------- B?ro/Office: +49 (0) 6227/385-120 Email: Christian.Wittmer@InterComponentWare.com InterComponentWare AG Otto-Hahn-Strasse 3 69190 Walldorf Zentrale/Main: +49 (6227) 385-100 http://www.intercomponentware.com http://www.lifesensor.com stephane.purnelle@corman.be Sent by: samba-bounces+christian.wittmer=intercomponentware.com@lists.samba.org 27.07.2004 12:49 To: samba@lists.samba.org cc: Subject: [Samba] Changing password problem Hi, When a client try to change password : if sambaPwdCanChange = 2147483647 and sambaPwdMustChange = 1090923529 (for example) Samba would not change the password : I can find in log : user xxx cannot change password now, must wait until ven, 13 d?c 1901 21:45:51 GMT But, if I set the sambaPwdCanChange to 0, the password is changed but, the sambaPwdMustChange is not updated to next date. I use LDAP and password policy. The unix password sync = no Can anyone answer to this problem ? Thank you St?phane Purnelle ----------------------------------- St?phane PURNELLE stephane.purnelle@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba