From: Volker Lendecke Date: Fri, 26 Oct 2018 06:25:14 +0000 (+0200) Subject: winbind: Use dom_sid_str_buf X-Git-Tag: tdb-1.3.17~825 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21bfc7743970f985ffef1b558120203c76739ec3;p=thirdparty%2Fsamba.git winbind: Use dom_sid_str_buf Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 2e2a04d09d8..c23ae62c403 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -854,8 +854,8 @@ static void centry_put_hash16(struct cache_entry *centry, const uint8_t val[16]) static void centry_put_sid(struct cache_entry *centry, const struct dom_sid *sid) { - fstring sid_string; - centry_put_string(centry, sid_to_fstring(sid_string, sid)); + struct dom_sid_buf sid_string; + centry_put_string(centry, dom_sid_str_buf(sid, &sid_string)); }