From 34edb1b47eac98674e79297bd7219cbaa8368bcf Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 17 Jan 2000 23:01:23 +0000 Subject: SAMR_R_UNKNOWN_38 is 3 uint16 params (4-byte aligned) followed by status code. (This used to be commit 55035b8984c135ddd2c4e3be18caf8833975841d) --- source3/include/rpc_samr.h | 1 - source3/rpc_parse/parse_samr.c | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'source3') 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; -- cgit