idmap: Use dom_sid_str_buf
authorVolker Lendecke <vl@samba.org>
Sat, 27 Oct 2018 19:50:34 +0000 (21:50 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 9 Nov 2018 21:42:29 +0000 (22:42 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/idmap_ad.c

index 664483ace78d591c870154fd93ce8ba26e2be6fe..9e6510f43d34a9159f2f6f25deab6396be718570 100644 (file)
@@ -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;
                }