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

source/winbindd/idmap.c

index 6d189f7fa3a705a89505e280917ecaa93526ca69..cf77e88b93494d651a167dc8f3c611b8e0210e94 100644 (file)
@@ -742,6 +742,9 @@ NTSTATUS idmap_backends_sid_to_unixid(const char *domain, struct id_map *id)
        struct idmap_domain *dom;
        struct id_map *maps[2];
 
+        DEBUG(10, ("idmap_backend_sid_to_unixid: domain = '%s', sid = [%s]\n",
+                   domain?domain:"NULL", sid_string_dbg(id->sid)));
+
        maps[0] = id;
        maps[1] = NULL;