From 27f88ba2deeec8b5b0a72ef97ae84c1016532a3c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 25 Nov 2012 02:13:15 +0100 Subject: s3:winbindd: also use idmap_passdb for own sam and builtin in wbint_Sids2UnixIDs() This is the way the singular calls work and how they should (currently) work. The two code paths need to give the same results. It is important to use the passdb backend, otherwise groups don't work. Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/winbindd/winbindd_dual_srv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index 35d9451177..660008293d 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -151,10 +151,10 @@ NTSTATUS _wbint_Sids2UnixIDs(struct pipes_struct *p, struct idmap_domain *dom; uint32_t num_ids; - dom = idmap_find_domain(d->name.string); + dom = idmap_find_domain_with_sid(d->name.string, d->sid); if (dom == NULL) { - DEBUG(10, ("idmap domain %s not found\n", - d->name.string)); + DEBUG(10, ("idmap domain %s:%s not found\n", + d->name.string, sid_string_dbg(d->sid))); continue; } -- cgit