summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/winbindd_dual_srv.c6
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;
}