Re: [Samba] pdbedit -P 'maximum password age' -C 0 should == never expire?

2004-02-25 Thread Fabien Chevalier

 Thanks for the bug-report, this is now Fixed in 3.0 CVS.


Damned, this is a bug?
I though it was logical that it was running that way... 

Fabien Chevalier

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] pdbedit -P 'maximum password age' -C 0 should == never expire?

2004-02-25 Thread Andrew Bartlett
On Wed, 2004-02-25 at 23:08, Fabien Chevalier wrote:
  Thanks for the bug-report, this is now Fixed in 3.0 CVS.
 
 
 Damned, this is a bug?
 I though it was logical that it was running that way... 

If microsoft has '0' as no limit (and making people change passwords
forever more doesn't make much sense) then we need to match it, as these
can be set from usrmgr.

We map 0 NTTime to 0 unixtime.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] pdbedit -P 'maximum password age' -C 0 should == never expire?

2004-02-23 Thread JustFillBug

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'.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] pdbedit -P 'maximum password age' -C 0 should == never expire?

2004-02-23 Thread Fabien Chevalier
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba