summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/rpc_parse/parse_net.c')
-rw-r--r--source/rpc_parse/parse_net.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c
index a087e0a9d10..6cbcb5f8277 100644
--- a/source/rpc_parse/parse_net.c
+++ b/source/rpc_parse/parse_net.c
@@ -1094,6 +1094,8 @@ BOOL make_net_user_info3(NET_USER_INFO_3 *usr,
char *logon_srv,
char *logon_dom,
+ char *padding,
+
DOM_SID *dom_sid,
char *other_sids)
{
@@ -1152,6 +1154,10 @@ BOOL make_net_user_info3(NET_USER_INFO_3 *usr,
usr->buffer_dom_id = dom_sid ? 1 : 0; /* yes, we're bothering to put a domain SID in */
bzero(usr->padding, sizeof(usr->padding));
+ if (padding != NULL)
+ {
+ memcpy(usr->padding, padding, 8);
+ }
num_other_sids = make_dom_sid2s(other_sids, usr->other_sids, LSA_MAX_SIDS);