winbindd/idmap: add diagnostic entry debug msg to idmap_backends_unixid_to_sid
authorMichael Adam <obnox@samba.org>
Fri, 28 Nov 2008 09:40:01 +0000 (10:40 +0100)
committerMichael Adam <obnox@samba.org>
Sun, 30 Nov 2008 23:10:38 +0000 (00:10 +0100)
Michael

source/winbindd/idmap.c

index 82f9e3d105e437e0827392432ba3eaa8c6219a86..6d189f7fa3a705a89505e280917ecaa93526ca69 100644 (file)
@@ -722,6 +722,10 @@ NTSTATUS idmap_backends_unixid_to_sid(const char *domname, struct id_map *id)
        struct idmap_domain *dom;
        struct id_map *maps[2];
 
+        DEBUG(10, ("idmap_backend_unixid_to_sid: domain = '%s', xid = %d "
+                   "(type %d)\n",
+                   domname?domname:"NULL", id->xid.id, id->xid.type));
+
        maps[0] = id;
        maps[1] = NULL;