git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fda68a
)
r1340: _samr_lookupsids with more than 32 (MAX_REF_DOMAINS) SIDs failed. This
author
Volker Lendecke
<vlendec@samba.org>
Mon, 5 Jul 2004 15:05:45 +0000
(15:05 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:52:07 +0000
(10:52 -0500)
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
source/rpc_server/srv_lsa_nt.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/srv_lsa_nt.c
b/source/rpc_server/srv_lsa_nt.c
index ff73fd4a9516912b912db0e60d26a2ecf3fd0ccb..6c3157d5c95ba1d30f7ee5731bc9962792fff63d 100644
(file)
--- a/
source/rpc_server/srv_lsa_nt.c
+++ b/
source/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;
}