summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/rpc_samr.h2
-rw-r--r--source3/rpc_parse/parse_samr.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index c33d409997..7aea1b23c3 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/include/rpc_samr.h
@@ -597,8 +597,6 @@ typedef struct sam_unknown_info_2_inf
uint32 num_domain_grps; /* number of domain groups in domain */
uint32 num_local_grps; /* number of local groups in domain */
- uint8 padding[12]; /* 12 bytes zeros */
-
UNISTR2 uni_comment; /* comment unicode string */
UNISTR2 uni_domain; /* domain name unicode string */
UNISTR2 uni_server; /* server name unicode string */
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index c425b945b4..287e79f1b4 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -712,8 +712,6 @@ void init_unk_info2(SAM_UNK_INFO_2 * u_2,
u_2->num_domain_grps = num_groups;
u_2->num_local_grps = num_alias;
- memset(u_2->padding, 0, sizeof(u_2->padding)); /* 12 bytes zeros */
-
init_unistr2(&u_2->uni_comment, comment, UNI_FLAGS_NONE);
init_uni_hdr(&u_2->hdr_comment, &u_2->uni_comment);
init_unistr2(&u_2->uni_domain, domain, UNI_FLAGS_NONE);