summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/rpc_samr.h1
-rw-r--r--source3/rpc_parse/parse_samr.c7
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;