s3: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>
Mon, 1 Dec 2008 03:37:21 +0000 (04:37 +0100)
Michael

source3/winbindd/idmap.c

index 0062c7588e4a13f1f3ab789ef8f8ab2002f6becf..3e7be8cb7abcb9efdb1f9bd375b2844337b67e5f 100644 (file)
@@ -728,6 +728,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;