winbind: Add a debug message for out-of-range IDs
authorVolker Lendecke <vl@samba.org>
Tue, 7 Mar 2017 13:06:52 +0000 (14:06 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 7 Mar 2017 23:04:22 +0000 (00:04 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_dual_srv.c

index 763ebb888403cde1ebb993cf500e17ebadc6cce6..02b1adb2117feeccfd22a1c4e427d7f5d40bf9e9 100644 (file)
@@ -190,6 +190,10 @@ NTSTATUS _wbint_Sids2UnixIDs(struct pipes_struct *p,
                struct id_map *m = id_map_ptrs[i];
 
                if (!idmap_unix_id_is_in_range(m->xid.id, dom)) {
+                       DBG_DEBUG("id %"PRIu32" is out of range "
+                                 "%"PRIu32"-%"PRIu32" for domain %s\n",
+                                 m->xid.id, dom->low_id, dom->high_id,
+                                 dom->name);
                        m->status = ID_UNMAPPED;
                }