diff options
author | Luke Leighton <lkcl@samba.org> | 1998-12-02 22:13:48 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-12-02 22:13:48 +0000 |
commit | 364025fe37acfda89f47f6dfa7b97a9b7651e060 (patch) | |
tree | 2a462d1cde13afdeea665e62692df9e6f9c16a7d /source3/rpc_parse | |
parent | 78df0fb8f1ef52b629ccc2634bb0e158a80058a3 (diff) | |
download | samba-364025fe37acfda89f47f6dfa7b97a9b7651e060.tar.gz samba-364025fe37acfda89f47f6dfa7b97a9b7651e060.tar.bz2 samba-364025fe37acfda89f47f6dfa7b97a9b7651e060.zip |
spotted the mistake in group_info1 parsing.
(This used to be commit e39c0c76ae52bbd4539f8f254e78566a5511efc1)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 5a9b7660ab..e1f4d01d9b 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -1384,11 +1384,12 @@ void make_samr_group_info1(GROUP_INFO1 *gr1, DEBUG(5,("make_samr_group_info1\n")); make_uni_hdr(&(gr1->hdr_acct_name), acct_len , acct_len, acct_name ? 1 : 0); - make_uni_hdr(&(gr1->hdr_acct_desc), desc_len , desc_len, acct_desc ? 1 : 0); gr1->unknown_1 = 0x3; gr1->unknown_2 = 0x3; + make_uni_hdr(&(gr1->hdr_acct_desc), desc_len , desc_len, acct_desc ? 1 : 0); + make_unistr2(&(gr1->uni_acct_name), acct_name, acct_len); make_unistr2(&(gr1->uni_acct_desc), acct_desc, desc_len); } @@ -1407,11 +1408,12 @@ void samr_io_group_info1(char *desc, GROUP_INFO1 *gr1, prs_struct *ps, int dept prs_align(ps); smb_io_unihdr ("hdr_acct_name", &(gr1->hdr_acct_name) , ps, depth); - smb_io_unihdr ("hdr_acct_desc", &(gr1->hdr_acct_desc) , ps, depth); prs_uint32("unknown_1", ps, depth, &(gr1->unknown_1)); prs_uint32("unknown_2", ps, depth, &(gr1->unknown_2)); + smb_io_unihdr ("hdr_acct_desc", &(gr1->hdr_acct_desc) , ps, depth); + smb_io_unistr2("uni_acct_name", &(gr1->uni_acct_name), gr1->hdr_acct_name.buffer, ps, depth); prs_align(ps); |