[Samba] Passwords expiring

Andrew Bartlett abartlet at samba.org
Mon Nov 7 22:23:48 GMT 2005

On Mon, 2005-11-07 at 14:48 -0600, Scott Mayo wrote:
> I have a Samba 3 server setup using LDAP for the backend.  I keep 
> getting a message that the passwords will expire.  This happened about a 
> month ago and I did not worry about it, because my XP machines kept 
> telling me this last year, but they never expired.  I figured it was 
> something to do with XP and not my Samba server.  This year though, with 
> my new server, they did expire and I had to reset them all.  I thought I 
> went through and had it set where they would not expire.  Maybe I did 
> and they will not, just like last year, but if they do, what do I need 
> to do so they do not expire?
> Here is what I did when I reset them.  I used the smbldap-usermod 
> program to change the expire time to a long, long time away.
> smbldap-usermod -e "2999-01-01 01:01:01" -A 0 username
> Shouldn't that tell it to make the passwords to expire on January 1, 2999?

Firstly, I would not set it to any date past 2037.  10 years should be
long enough for a password, and not catch problems with time_t overflow.

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20051108/1c906804/attachment.bin

More information about the samba mailing list