diff options
author | Michael Adam <obnox@samba.org> | 2012-11-25 02:13:15 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-03 08:48:23 +0100 |
commit | 27f88ba2deeec8b5b0a72ef97ae84c1016532a3c (patch) | |
tree | 5c7c0cd96423fb0a234fb8a9ce72fbc21489bb5f | |
parent | 370d62578dd171c6f898f4868f382cdddb908bcf (diff) | |
download | samba-27f88ba2deeec8b5b0a72ef97ae84c1016532a3c.tar.gz samba-27f88ba2deeec8b5b0a72ef97ae84c1016532a3c.tar.bz2 samba-27f88ba2deeec8b5b0a72ef97ae84c1016532a3c.zip |
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 <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/winbindd/winbindd_dual_srv.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |