CVS update: samba/source/passdb

Andrew Bartlett abartlet at pcug.org.au
Mon Oct 1 21:08:38 EST 2001


tridge at samba.org wrote:
> 
> Date:   Mon Oct  1 03:53:59 2001
> Author: tridge
> 
> Update of /home/cvs/samba/source/passdb
> In directory va:/tmp/cvs-serv18086
> 
> Modified Files:
>         passdb.c pdb_smbpasswd.c pdb_tdb.c
> Log Message:
> - fix handling of 0 last_change_time and must_change_time
> - move the arbitrary 21 day timeout to local.h

Now I know you want to move everybody to tdbsam, but note that you just
enforced 21 day password changes on everybody...  That was meant to be a
config option.  

Plan B:  Add the ACB_PWNOEXP flag to smbpasswd, setting the last
chage/must change times as approrpirate when reading the file.  This
will calm the users back down and allow a orderly migration to tdbsam. 
(A quick hack converison script to add this flag to existing accounts
wouldn't go astray).

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Samba Team member, Build Farm maintainer        abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-cvs mailing list