git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b104f6
)
fixed the unmarshalling of the queryaliasmem SAMR call
author
Andrew Tridgell
<tridge@samba.org>
Thu, 13 Mar 2003 04:35:15 +0000
(
04:35
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 13 Mar 2003 04:35:15 +0000
(
04:35
+0000)
(This used to be commit
80c45434092a881fe2c9ae7f90856deea4722cb0
)
source3/rpc_parse/parse_samr.c
patch
|
blob
|
history
diff --git
a/source3/rpc_parse/parse_samr.c
b/source3/rpc_parse/parse_samr.c
index d031d139552df63824c0d8da83209364e5718a33..222af57e5bc068557b661d48f30d517eca445ca7 100644
(file)
--- a/
source3/rpc_parse/parse_samr.c
+++ b/
source3/rpc_parse/parse_samr.c
@@
-4623,13
+4623,17
@@
BOOL samr_io_r_query_aliasmem(const char *desc, SAMR_R_QUERY_ALIASMEM * r_u,
for (i = 0; i < r_u->num_sids1; i++) {
ptr_sid[i] = 1;
- if(!prs_uint32("", ps, depth, &ptr_sid[i]))
+ if(!prs_uint32("
ptr_sid
", ps, depth, &ptr_sid[i]))
return False;
}
+ if (UNMARSHALLING(ps)) {
+ r_u->sid = talloc(ps->mem_ctx, r_u->num_sids1 * sizeof(DOM_SID));
+ }
+
for (i = 0; i < r_u->num_sids1; i++) {
if (ptr_sid[i] != 0) {
- if(!smb_io_dom_sid2("", &r_u->sid[i], ps, depth))
+ if(!smb_io_dom_sid2("
sid
", &r_u->sid[i], ps, depth))
return False;
}
}