[Samba] Changing password problem

stephane.purnelle at corman.be stephane.purnelle at corman.be
Wed Jul 28 09:18:48 GMT 2004





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 at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467


                                                                                                                                                    
                      Christian.Wittmer at intercompon                                                                                                 
                      entware.com                           Pour :   stephane.purnelle at corman.be                                                    
                                                            cc :     samba at 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 at 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 at corman.be
Sent by:
samba-bounces+christian.wittmer=intercomponentware.com at lists.samba.org
27.07.2004 12:49


        To:     samba at 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 at 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








More information about the samba mailing list