[NTLUG:Discuss] Samba Password Aging

Kenneth Loafman ken at lt.com
Fri Jan 9 15:29:43 CST 2004


Chris Cox wrote:
> Kenneth Loafman wrote:
> ...
> 
>> The smb.conf file has no surprises, just changes to Workgroup and a 
>> couple of shares outside of the normal home directories.
>>
>> Using straight passwd auth in Linux.  Using smbpasswd for Samba.  The 
>> new database oriented passdb.tdb file for Samba has no documentation, 
>> and that's the one that controls access to SMB shares.  The user is on 
>> Win2K and has had to be reset every month for a while.  I just can't 
>> seem to find any Samba docs that mention aging, but something is 
>> decidely making his (and only his) password expire.
> 
> 
> My guess is that the aging stuff out of shadow is still getting
> utilized.  I bet you have a pam_unix in your PAM stack for samba.
> The password may come out of the tdb, but the aging information
> may be coming out of shadow.  Give it a check.
> 
> If you've already done this.. my apologies.. not sure what else
> to look for.


Forgot about shadow, but it has 99999 as the aging value, just like the 
rest of us.  Looks like its something in the undocumented tdb file after 
all.  Drat!

...Ken





More information about the Discuss mailing list