summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_lookuprids.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-04 20:31:36 +0100
committerJeremy Allison <jra@samba.org>2010-12-06 20:33:05 +0100
commit8f8d188c195d1d587bfdc056b1c6845a046b6e35 (patch)
tree9b560b2eecf4404741df3878adec4a852f12acc5 /source3/winbindd/winbindd_lookuprids.c
parentcb496c6d243854e309dcff23f832a5f88914b3cf (diff)
downloadsamba-8f8d188c195d1d587bfdc056b1c6845a046b6e35.tar.gz
samba-8f8d188c195d1d587bfdc056b1c6845a046b6e35.tar.bz2
samba-8f8d188c195d1d587bfdc056b1c6845a046b6e35.zip
s3: Fix bug 7841: WINBINDD_LOOKUPRIDS asks the wrong domain
Diffstat (limited to 'source3/winbindd/winbindd_lookuprids.c')
-rw-r--r--source3/winbindd/winbindd_lookuprids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_lookuprids.c b/source3/winbindd/winbindd_lookuprids.c
index 6e3d5c5ece..bd0a946013 100644
--- a/source3/winbindd/winbindd_lookuprids.c
+++ b/source3/winbindd/winbindd_lookuprids.c
@@ -62,7 +62,7 @@ struct tevent_req *winbindd_lookuprids_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- domain = find_domain_from_sid_noinit(&sid);
+ domain = find_lookup_domain_from_sid(&sid);
if (domain == NULL) {
DEBUG(5, ("Domain for sid %s not found\n",
sid_string_dbg(&sid)));