[Samba] password aging policy vs. special cases

Lukasz Stelmach lukasz.stelmach at telmark.waw.pl
Mon Jun 4 18:15:40 GMT 2007


I have just upgraded to samba 3.0.25a (from 3.0.24 AFAIR). I have also
upgraded schema file in openldap's configuration directory. As I have
had some more time I have discovered sambaMaxPwdAge and that it
may be read with pdbedit in human readable form. Great :-)

But what if I would like to force a user to change her password
right at next login? I have tried to set sambaPwdMustChange
to `date +%s` (I mean the number), but nothing happened.
pdbedit still shows sambaPwdLastSet + sambaMaxPwdAge and windows
does not ask for a change :-(

Of course! I could set sambaPwdLastSet to 1, but please admit,
this is kind of counter intuitive. Is this the only way to
force user to change her password sooner (or later) than it
is now?

Best regards,

PS. Please do CC.
Miłego dnia

More information about the samba mailing list