summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-10-27 21:50:34 +0200
committerJeremy Allison <jra@samba.org>2018-11-09 22:42:29 +0100
commit87ae595b3880862589743e07dd2d08bfc0d35883 (patch)
treeb1d1d804b98375c889dbe37e99cbe04e656cac19 /source3/winbindd
parent1e484da7921e84dc0bb8939401de0188c9cbde5f (diff)
downloadsamba-87ae595b3880862589743e07dd2d08bfc0d35883.tar.gz
idmap: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_ad.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 664483ace78..9e6510f43d3 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -872,8 +872,10 @@ static NTSTATUS idmap_ad_sids_to_unixids(struct idmap_domain *dom,
}
}
if (map == NULL) {
+ struct dom_sid_buf buf;
DBG_DEBUG("Got unexpected sid %s from object %s\n",
- sid_string_tos(&sid), dn);
+ dom_sid_str_buf(&sid, &buf),
+ dn);
continue;
}