Replace sid_string_static by sid_string_dbg in DEBUGs
[samba.git] / source3 / winbindd / idmap_ad.c
index 50f7914f857d18abd3c13d4d56e13198a6759437..0d7c068844697f7564d7d4f30a9885e51f0b8dc0 100644 (file)
@@ -441,8 +441,7 @@ again:
                /* mapped */
                map->status = ID_MAPPED;
 
-               DEBUG(10, ("Mapped %s -> %lu (%d)\n",
-                          sid_string_static(map->sid),
+               DEBUG(10, ("Mapped %s -> %lu (%d)\n", sid_string_dbg(map->sid),
                           (unsigned long)map->xid.id,
                           map->xid.type));
        }
@@ -628,8 +627,7 @@ again:
                map->xid.id = id;
                map->status = ID_MAPPED;
 
-               DEBUG(10, ("Mapped %s -> %lu (%d)\n",
-                          sid_string_static(map->sid),
+               DEBUG(10, ("Mapped %s -> %lu (%d)\n", sid_string_dbg(map->sid),
                           (unsigned long)map->xid.id,
                           map->xid.type));
        }