diff options
author | Jeremy Allison <jra@samba.org> | 2001-10-03 22:58:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-10-03 22:58:37 +0000 |
commit | a71d9d98b013a6c30fd85524b7cdc929bdbd9bcb (patch) | |
tree | 91f2630ae56144330f305a56a59772eab3cb8851 /source/passdb/passdb.c | |
parent | d30939a091b48f4d77f7618c75668ae151a5592e (diff) | |
download | samba-a71d9d98b013a6c30fd85524b7cdc929bdbd9bcb.tar.gz samba-a71d9d98b013a6c30fd85524b7cdc929bdbd9bcb.tar.xz samba-a71d9d98b013a6c30fd85524b7cdc929bdbd9bcb.zip |
Ensure accessing NT member servers works with a Samba PDC. Don't
change these timestamp settings without good reason.
Remove CLEAR_IF_FIRST flag is tdb is read-only.
Jeremy.
Diffstat (limited to 'source/passdb/passdb.c')
-rw-r--r-- | source/passdb/passdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c index 86ee97d281b..0e1ebf8a284 100644 --- a/source/passdb/passdb.c +++ b/source/passdb/passdb.c @@ -77,10 +77,10 @@ static BOOL pdb_fill_default_sam(SAM_ACCOUNT *user) ZERO_STRUCTP(user); user->logon_time = (time_t)0; + user->pass_last_set_time = (time_t)0; + user->pass_can_change_time = (time_t)0; user->logoff_time = user->kickoff_time = - user->pass_last_set_time = - user->pass_can_change_time = user->pass_must_change_time = get_time_t_max(); user->unknown_3 = 0x00ffffff; /* don't know */ |