moving SAM_ACCOUNT to include a bit field for initialized
authorGerald Carter <jerry@samba.org>
Thu, 27 Dec 2001 06:38:04 +0000 (06:38 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 27 Dec 2001 06:38:04 +0000 (06:38 +0000)
commitf0d43791157d8f04a13a07d029f203ad4384d317
treed90a2f3efc39bc65b80a77e085ad8ad22fbc60d5
parentaca58b0b72d2eb5024b4d5103fde5b281212d714
moving SAM_ACCOUNT to include a bit field for initialized
members (such as uid and gid).  This way we will be able to
keep ourselves from writing out default smb.conf settings when
the admin doesn't want to,  That part is not done yet.

Tested compiles with ldap/tdb/smbpasswd.  Tested connection with smbpasswd
backend.

oh...and smbpasswd doesn'y automatically expire accounts after 21 days
from the last password change either now.  Just ifdef'd out that code
in build_sam_account().

Will merge updates into 2.2 as they are necessary.

jerry
source/include/smb.h
source/passdb/passdb.c
source/passdb/pdb_ldap.c
source/passdb/pdb_nisplus.c
source/passdb/pdb_smbpasswd.c
source/passdb/pdb_tdb.c
source/rpc_server/srv_pipe.c
source/smbd/password.c
source/utils/pdbedit.c