summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-07-05 15:05:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:07 -0500
commit776aa21df563495379c9666ca4aa478c46125590 (patch)
tree5fc691fe60147d2fbc788b344cc415096e1d40df /source3
parent5f9af6df053f6608fba9a9c17a4945189de38a58 (diff)
downloadsamba-776aa21df563495379c9666ca4aa478c46125590.tar.gz
samba-776aa21df563495379c9666ca4aa478c46125590.tar.bz2
samba-776aa21df563495379c9666ca4aa478c46125590.zip
r1340: _samr_lookupsids with more than 32 (MAX_REF_DOMAINS) SIDs failed. This
happened because init_dom_ref did not find the domain in question in the list of already mentioned domains. Could others please double-check this? Thanks, Volker (This used to be commit d7b2e41f00491ecf57db70e4da8cf8a3d2469c2b)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index ff73fd4a95..6c3157d5c9 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -101,7 +101,7 @@ static int init_dom_ref(DOM_R_REF *ref, char *dom_name, DOM_SID *dom_sid)
if (dom_name != NULL) {
for (num = 0; num < ref->num_ref_doms_1; num++) {
fstring domname;
- rpcstr_pull(domname, &ref->ref_dom[num].uni_dom_name, sizeof(domname), -1, 0);
+ rpcstr_pull(domname, ref->ref_dom[num].uni_dom_name.buffer, sizeof(domname), -1, 0);
if (strequal(domname, dom_name))
return num;
}