From: Volker Lendecke Date: Sat, 4 Dec 2010 19:31:36 +0000 (+0100) Subject: s3: Fix bug 7841: WINBINDD_LOOKUPRIDS asks the wrong domain X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=a257253f8f82bcab52508273b12cd92fadd3ba1a;p=samba.git s3: Fix bug 7841: WINBINDD_LOOKUPRIDS asks the wrong domain --- diff --git a/source3/winbindd/winbindd_lookuprids.c b/source3/winbindd/winbindd_lookuprids.c index f2cb8793eb7..51cd4d8e2ad 100644 --- a/source3/winbindd/winbindd_lookuprids.c +++ b/source3/winbindd/winbindd_lookuprids.c @@ -61,7 +61,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)));