summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-07 21:32:02 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-07 21:32:02 +0000
commit54529fbd66a1adefbc0187ca4e594ff286f5f14f (patch)
tree60cadf2b5285f2f1b7a21d7af41a3c048f81e170 /source3/rpc_parse
parentba0cdbe8f58b6ec591c4ed193afb678cdc9287f0 (diff)
downloadsamba-54529fbd66a1adefbc0187ca4e594ff286f5f14f.tar.gz
samba-54529fbd66a1adefbc0187ca4e594ff286f5f14f.tar.bz2
samba-54529fbd66a1adefbc0187ca4e594ff286f5f14f.zip
bugs in rpcclient. add_aliasmem uses a DOM_SID2 not a DOM_SID.
(This used to be commit 8a85d7abed317fd06e3e0026d4b9e088311eede4)
Diffstat (limited to 'source3/rpc_parse')
-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);
}
/*******************************************************************