diff options
author | Tim Potter <tpot@samba.org> | 2001-10-03 23:08:10 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-03 23:08:10 +0000 |
commit | fbdc7ce391b6cc1672b53ec982d274cec15176d3 (patch) | |
tree | c396eb264f6ab1eb5fc4bea92044c58b03d20cee /source3/passdb/passdb.c | |
parent | 3a17bab00f7ab3a3e506c5a6b10a85a8cb65b0d2 (diff) | |
download | samba-fbdc7ce391b6cc1672b53ec982d274cec15176d3.tar.gz samba-fbdc7ce391b6cc1672b53ec982d274cec15176d3.tar.xz samba-fbdc7ce391b6cc1672b53ec982d274cec15176d3.zip |
Added a comment about not changing the magic timestamp values without
knowing what you are doing!
(This used to be commit 5805cfef78a72ae6166206a2996423f89baf7580)
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 0e1ebf8a284..9269a49e205 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; |