diff options
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 1 | ||||
-rw-r--r-- | source3/rpc_parse/parse_net.c | 13 |
2 files changed, 8 insertions, 6 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index 6353c9a8cd..5160a2778f 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -1240,6 +1240,7 @@ BOOL smb_io_cred(char *desc, DOM_CRED *cred, prs_struct *ps, int depth) if(!smb_io_chal ("", &cred->challenge, ps, depth)) return False; + if(!smb_io_utime("", &cred->timestamp, ps, depth)) return False; diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index cfd90241d0..a3ff179605 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/rpc_parse/parse_net.c @@ -1260,6 +1260,7 @@ void init_net_user_info3(TALLOC_CTX *ctx, NET_USER_INFO_3 *usr, SAM_ACCOUNT *sam usr->user_rid = pdb_get_user_rid(sampw); usr->group_rid = pdb_get_group_rid(sampw); usr->num_groups = num_groups+1; + usr->buffer_groups = 1; /* indicates fill in groups, below, even if there are none */ usr->user_flgs = user_flgs; @@ -1339,17 +1340,17 @@ static BOOL net_io_user_info3(char *desc, NET_USER_INFO_3 *usr, prs_struct *ps, if (usr->ptr_user_info == 0) return True; - if(!smb_io_time("time", &usr->logon_time, ps, depth)) /* logon time */ + if(!smb_io_time("logon time", &usr->logon_time, ps, depth)) /* logon time */ return False; - if(!smb_io_time("time", &usr->logoff_time, ps, depth)) /* logoff time */ + if(!smb_io_time("logoff time", &usr->logoff_time, ps, depth)) /* logoff time */ return False; - if(!smb_io_time("time", &usr->kickoff_time, ps, depth)) /* kickoff time */ + if(!smb_io_time("kickoff time", &usr->kickoff_time, ps, depth)) /* kickoff time */ return False; - if(!smb_io_time("time", &usr->pass_last_set_time, ps, depth)) /* password last set time */ + if(!smb_io_time("last set time", &usr->pass_last_set_time, ps, depth)) /* password last set time */ return False; - if(!smb_io_time("time", &usr->pass_can_change_time , ps, depth)) /* password can change time */ + if(!smb_io_time("can change time", &usr->pass_can_change_time , ps, depth)) /* password can change time */ return False; - if(!smb_io_time("time", &usr->pass_must_change_time, ps, depth)) /* password must change time */ + if(!smb_io_time("must change time", &usr->pass_must_change_time, ps, depth)) /* password must change time */ return False; if(!smb_io_unihdr("unihdr", &usr->hdr_user_name, ps, depth)) /* username unicode string header */ |