summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-04 17:47:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:44 -0500
commit46c35b17a32d479f5780ca6a24e4e9c3b9cc2403 (patch)
tree8355ea47859fc2e8093b8115ae7dc2ef7fbbe97e
parent52e778e6f85c5affbcc40e5ce629792e6f16b553 (diff)
downloadsamba-46c35b17a32d479f5780ca6a24e4e9c3b9cc2403.tar.gz
samba-46c35b17a32d479f5780ca6a24e4e9c3b9cc2403.tar.bz2
samba-46c35b17a32d479f5780ca6a24e4e9c3b9cc2403.zip
r15441: cleanup older unused padding.
Guenther (This used to be commit 6e225e0528604c797a953eb8d3b49a873b21584f)
-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);