diff options
author | Jeremy Allison <jra@samba.org> | 2001-09-27 20:40:47 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-09-27 20:40:47 +0000 |
commit | 65bf4a36ef5967b0844ab985d7b3ea31138dd4c5 (patch) | |
tree | 0a52d88f1c0af5461b45044076d0b2f069e35a4d /source/passdb | |
parent | 69a3277fc5be35536168ba195968b8b76f0b5954 (diff) | |
download | samba-65bf4a36ef5967b0844ab985d7b3ea31138dd4c5.tar.gz |
Merge HEAD and 2.2 - try frantically to keep in sync.
Jeremy.
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/passdb.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c index f02b1d2531d..d29f1403147 100644 --- a/source/passdb/passdb.c +++ b/source/passdb/passdb.c @@ -78,19 +78,19 @@ static BOOL pdb_fill_default_sam(SAM_ACCOUNT *user) } ZERO_STRUCTP(user); - (user)->logon_time = (time_t)0; - (user)->logoff_time = (time_t)-1; - (user)->kickoff_time = (time_t)-1; - (user)->pass_last_set_time = (time_t)-1; - (user)->pass_can_change_time = (time_t)-1; - (user)->pass_must_change_time = (time_t)-1; - - (user)->unknown_3 = 0x00ffffff; /* don't know */ - (user)->logon_divs = 168; /* hours per week */ - (user)->hours_len = 21; /* 21 times 8 bits = 168 */ - memset((user)->hours, 0xff, (user)->hours_len); /* available at all hours */ - (user)->unknown_5 = 0x00000000; /* don't know */ - (user)->unknown_6 = 0x000004ec; /* don't know */ + user->logon_time = (time_t)0; + user->logoff_time = (time_t)-1; + user->kickoff_time = (time_t)-1; + user->pass_last_set_time = (time_t)-1; + user->pass_can_change_time = (time_t)-1; + user->pass_must_change_time = (time_t)-1; + + user->unknown_3 = 0x00ffffff; /* don't know */ + user->logon_divs = 168; /* hours per week */ + user->hours_len = 21; /* 21 times 8 bits = 168 */ + memset(user->hours, 0xff, user->hours_len); /* available at all hours */ + user->unknown_5 = 0x00000000; /* don't know */ + user->unknown_6 = 0x000004ec; /* don't know */ return True; } |