[Samba] Samba Password Aging

Kenneth Loafman ken at lt.com
Tue Feb 3 14:29:41 GMT 2004


Kenneth Loafman wrote:

> Andrew Bartlett wrote:
> 
>> On Tue, 2004-02-03 at 09:12, Kenneth Loafman wrote:
>>
>>> Samba version 2.999+3.0cvs20020906-1 for Debian
>>>
>>> Somehow the Samba password is aging and is requiring a reset once a 
>>> month for a couple of users.  I can't see anything in the man pages 
>>> to indicate that the passwords age, so how is Samba doing it, and how 
>>> do I stop this behavior?
>>
>>
>>
>> By not running such an old version of Samba.
>>
>> Current versions of samba in debian use smbpasswd by default (will keep
>> tdbsam if you upgrade however) and do not have the 21 day password
>> expiry.
>>
>> pdbedit allows you to see into the tdbsam.
> 
> 
> 
> Updated to latest Debian (3.0x) and it kept the tdb password file.   Any 
> way to convert back to smbpasswd without a complete uninstall/reinstall?


Never mind.  smbpasswd and smb.conf man pages answered it.  A simple 
change to 'passdb backend' and a 'pdbedit -e ...' fixed it.  Now, no 
more evil password aging.

...Ken




More information about the samba mailing list