summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_samr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_parse/parse_samr.c')
-rw-r--r--source3/rpc_parse/parse_samr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index bfcc811aea..52bcb4ff77 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -2959,7 +2959,7 @@ void make_samr_q_add_aliasmem(SAMR_Q_ADD_ALIASMEM *q_u, POLICY_HND *hnd,
DEBUG(5,("make_samr_q_add_aliasmem\n"));
memcpy(&(q_u->alias_pol), hnd, sizeof(q_u->alias_pol));
- sid_copy(&q_u->sid, sid);
+ make_dom_sid2(&q_u->sid, sid);
}
@@ -2975,8 +2975,8 @@ void samr_io_q_add_aliasmem(char *desc, SAMR_Q_ADD_ALIASMEM *q_u, prs_struct *p
prs_align(ps);
- smb_io_pol_hnd("alias_pol", &(q_u->alias_pol), ps, depth);
- smb_io_dom_sid("sid ", &(q_u->sid ), ps, depth);
+ smb_io_pol_hnd ("alias_pol", &(q_u->alias_pol), ps, depth);
+ smb_io_dom_sid2("sid ", &(q_u->sid ), ps, depth);
}
/*******************************************************************