summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-12-11 07:44:13 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-12-20 23:40:24 +0100
commit1d5c00a34d85b530852ae2544de6fd73e9ff9bce (patch)
tree334691d40843c6ed7ad6fb0e5854053927bd9ed8 /source3/libads
parent444fc0bfcc83a911a7ceeac3d3a24af9254d6bd6 (diff)
downloadsamba-1d5c00a34d85b530852ae2544de6fd73e9ff9bce.tar.gz
libads: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c5
1 files changed, 3 insertions, 2 deletions
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++;
}
}