[Samba] pdbedit -P 'maximum password age' -C 0 should == never
abartlet at samba.org
Mon Feb 23 21:09:36 GMT 2004
On Tue, 2004-02-24 at 05:08, Fabien Chevalier wrote:
> Le Lundi 23 Février 2004 17:31, JustFillBug a écrit :
> > When I set the 'maximum password age' to 0, my password
> > expired immediately after I did a smbpasswd. Shouldn't setting
> > it to 0 mean the password will never expire? Or are there any
> > other way to set password to never expire?
> > Here is the microsoft's interpretation on 'maximum password
> > age':
> > http://www.microsoft.com/technet/prodtechnol/windowsserver2003
> > It said 0 = 'never expire'.
> In fact i think this doesn't work like that with Samba.
> the field name is the same, but in Samba case, it contains
> a number of seconds. Each time you change your password, the 'password must
> change' field in your account is incremented by this number.
> So in your case it's incremented of 0, so your password expires immediately..
Thanks for the bug-report, this is now Fixed in 3.0 CVS.
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040224/8ea1fda9/attachment.bin
More information about the samba