summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-01-17 23:01:23 +0000
committerLuke Leighton <lkcl@samba.org>2000-01-17 23:01:23 +0000
commit34edb1b47eac98674e79297bd7219cbaa8368bcf (patch)
tree223423edeeb5b4a4ea2368a1ee765f4b053c1076 /source3/rpc_parse
parent4e15be9cf1378149688f7a2744c1fe36a7f54f7e (diff)
downloadsamba-34edb1b47eac98674e79297bd7219cbaa8368bcf.tar.gz
samba-34edb1b47eac98674e79297bd7219cbaa8368bcf.tar.bz2
samba-34edb1b47eac98674e79297bd7219cbaa8368bcf.zip
SAMR_R_UNKNOWN_38 is 3 uint16 params (4-byte aligned) followed by status code.
(This used to be commit 55035b8984c135ddd2c4e3be18caf8833975841d)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index effe329376..2327ee7798 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -3400,7 +3400,8 @@ void init_samr_r_unknown_38(SAMR_R_UNKNOWN_38 *r_u)
r_u->unk_0 = 0;
r_u->unk_1 = 0;
r_u->unk_2 = 0;
- r_u->unk_3 = 0;
+
+ r_u->status = 0x0;
}
/*******************************************************************
@@ -3430,9 +3431,7 @@ BOOL samr_io_r_unknown_38(char *desc, SAMR_R_UNKNOWN_38 *r_u, prs_struct *ps, i
return False;
if(!prs_align(ps))
return False;
- if(!prs_uint16("unk_3", ps, depth, &r_u->unk_3))
- return False;
- if(!prs_align(ps))
+ if(!prs_uint32("status", ps, depth, &r_u->status))
return False;
return True;