diff options
author | Luke Leighton <lkcl@samba.org> | 2000-01-17 23:01:23 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-01-17 23:01:23 +0000 |
commit | 34edb1b47eac98674e79297bd7219cbaa8368bcf (patch) | |
tree | 223423edeeb5b4a4ea2368a1ee765f4b053c1076 | |
parent | 4e15be9cf1378149688f7a2744c1fe36a7f54f7e (diff) | |
download | samba-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)
-rw-r--r-- | source3/include/rpc_samr.h | 1 | ||||
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index 1444d932b4..26dd2bf447 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -1016,7 +1016,6 @@ typedef struct r_samr_unknown_38 uint16 unk_0; uint16 unk_1; uint16 unk_2; - uint16 unk_3; uint32 status; /* return status */ } SAMR_R_UNKNOWN_38; 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; |