From: Volker Lendecke Date: Tue, 11 Dec 2018 06:44:13 +0000 (+0100) Subject: libads: Use dom_sid_str_buf X-Git-Tag: tdb-1.3.17~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d5c00a34d85b530852ae2544de6fd73e9ff9bce;p=thirdparty%2Fsamba.git libads: Use dom_sid_str_buf Signed-off-by: Volker Lendecke Reviewed-by: Gary Lockyer --- diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 13846695bd4..6b5f271272a 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -2799,8 +2799,9 @@ int ads_count_replies(ADS_STRUCT *ads, void *res) ret = sid_parse((const uint8_t *)values[i]->bv_val, values[i]->bv_len, &(*sids)[count]); if (ret) { - DEBUG(10, ("pulling SID: %s\n", - sid_string_dbg(&(*sids)[count]))); + struct dom_sid_buf buf; + DBG_DEBUG("pulling SID: %s\n", + dom_sid_str_buf(&(*sids)[count], &buf)); count++; } }