diff options
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r-- | source3/passdb/passdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 0e1ebf8a28..9269a49e20 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -76,6 +76,10 @@ static BOOL pdb_fill_default_sam(SAM_ACCOUNT *user) } ZERO_STRUCTP(user); + + /* Don't change these timestamp settings without a good reason. + They are important for NT member server compatibility. */ + user->logon_time = (time_t)0; user->pass_last_set_time = (time_t)0; user->pass_can_change_time = (time_t)0; |