s3:idmap: add a debug message to idmap_sid_to_gid
authorMichael Adam <obnox@samba.org>
Sat, 15 May 2010 22:32:10 +0000 (00:32 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:36 +0000 (02:10 +0200)
source3/winbindd/idmap_util.c

index a138e8a895d3c931ee2b2f79f62d30b4c1ae7056..70c109a7a559e598e66b8e27723b2f27beb8a09b 100644 (file)
@@ -261,6 +261,7 @@ backend:
        }
 
        if (map.status != ID_MAPPED) {
        }
 
        if (map.status != ID_MAPPED) {
+               DEBUG(10, ("sid [%s] is not mapped\n", sid_string_dbg(sid)));
                if (winbindd_use_idmap_cache()) {
                        idmap_cache_set_sid2uid(sid, -1);
                }
                if (winbindd_use_idmap_cache()) {
                        idmap_cache_set_sid2uid(sid, -1);
                }