diff options
author | Günther Deschner <gd@samba.org> | 2004-12-22 23:50:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:44 -0500 |
commit | 8222f958d15256a62712710c9c9a159106746d8b (patch) | |
tree | 7764b453eb4973fa2d541906a85548e4483e9ced /source3/rpc_parse | |
parent | 44bac2bf7b8537a7cd414a883b5c89042c6ad179 (diff) | |
download | samba-8222f958d15256a62712710c9c9a159106746d8b.tar.gz samba-8222f958d15256a62712710c9c9a159106746d8b.tar.bz2 samba-8222f958d15256a62712710c9c9a159106746d8b.zip |
r4336: Apply some other samba4 SAMR idl that is just too obvious. Don't hard
set the value "forcibly disconnect remote users from server when logon
hours expire" to "no", instead take the value from our account-policy
storage.
Guenther
(This used to be commit e3bd2a22a5cebc4adf6910d3ec31bc6fada8cd35)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 5b211f8349..8d5fee68e0 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -697,10 +697,10 @@ inits a structure. void init_unk_info2(SAM_UNK_INFO_2 * u_2, const char *comment, const char *domain, const char *server, - uint32 seq_num, uint32 num_users, uint32 num_groups, uint32 num_alias) + uint32 seq_num, uint32 num_users, uint32 num_groups, uint32 num_alias, NTTIME nt_logout) { - u_2->unknown_0 = 0x00000000; - u_2->unknown_1 = 0x80000000; + u_2->logout.low = nt_logout.low; + u_2->logout.high = nt_logout.high; u_2->seq_num.low = seq_num; u_2->seq_num.high = 0x00000000; @@ -736,9 +736,7 @@ static BOOL sam_io_unk_info2(const char *desc, SAM_UNK_INFO_2 * u_2, prs_debug(ps, depth, desc, "sam_io_unk_info2"); depth++; - if(!prs_uint32("unknown_0", ps, depth, &u_2->unknown_0)) /* 0x0000 0000 */ - return False; - if(!prs_uint32("unknown_1", ps, depth, &u_2->unknown_1)) /* 0x8000 0000 */ + if(!smb_io_time("logout", &u_2->logout, ps, depth)) return False; if(!smb_io_unihdr("hdr_comment", &u_2->hdr_comment, ps, depth)) return False; |