JustFillBug
2004-Feb-23 16:31 UTC
[Samba] pdbedit -P 'maximum password age' -C 0 should == never expire?
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/proddocs/entserver/501.asp It said 0 = 'never expire'.
Fabien Chevalier
2004-Feb-23 18:08 UTC
[Samba] pdbedit -P 'maximum password age' -C 0 should == never expire?
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 >/proddocs/entserver/501.asp > > It said 0 = 'never expire'.Hello, 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.. Bye, Fabien Chevalier
Maybe Matching Threads
- authenticating IIS 6.0 against samba?
- mounting/connection to 2003 shares (members servers and domain controllers)
- [SPAM] Re: What Windows apps stand in the way of switc hing to Linuxat your shop?
- The Solution for: Samba+ADS, w2k clients can't access samba by ne tbios name
- Asterisk and MS Exchange 2007