Replace sid_string_static by sid_string_dbg in DEBUGs
[amitay/samba.git] / source3 / libads / ldap.c
index da4227b64c43687445b9215edd017209033720a7..a4532cd2ea3a978c64de726bf97c93c6d366c39d 100644 (file)
@@ -2367,8 +2367,8 @@ int ads_count_replies(ADS_STRUCT *ads, void *res)
        for (i=0; values[i]; i++) {
                ret = sid_parse(values[i]->bv_val, values[i]->bv_len, &(*sids)[count]);
                if (ret) {
-                       fstring sid;
-                       DEBUG(10, ("pulling SID: %s\n", sid_to_string(sid, &(*sids)[count])));
+                       DEBUG(10, ("pulling SID: %s\n",
+                                  sid_string_dbg(&(*sids)[count])));
                        count++;
                }
        }