diff options
author | Volker Lendecke <vl@samba.org> | 2018-10-26 08:25:14 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-11-02 21:21:15 +0100 |
commit | 528170ef6bf1dabc6aef793790dd9bd2d4018db3 (patch) | |
tree | f1ddd86b4c59e7f2e649246196153698651c5787 /source3 | |
parent | bd1e43f7cb8a3a641f064259f7c2831b83262b5a (diff) | |
download | samba-528170ef6bf1dabc6aef793790dd9bd2d4018db3.tar.gz |
winbindd: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/wb_lookupusergroups.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/wb_lookupusergroups.c b/source3/winbindd/wb_lookupusergroups.c index 7647fbd5e66..bc14c33a88d 100644 --- a/source3/winbindd/wb_lookupusergroups.c +++ b/source3/winbindd/wb_lookupusergroups.c @@ -57,9 +57,9 @@ struct tevent_req *wb_lookupusergroups_send(TALLOC_CTX *mem_ctx, domain = find_domain_from_sid_noinit(&state->sid); if (domain == NULL) { - char buf[DOM_SID_STR_BUFLEN]; - dom_sid_string_buf(&state->sid, buf, sizeof(buf)); - DEBUG(1,("could not find domain entry for sid %s\n", buf)); + struct dom_sid_buf buf; + DBG_WARNING("could not find domain entry for sid %s\n", + dom_sid_str_buf(&state->sid, &buf)); tevent_req_nterror(req, NT_STATUS_NO_SUCH_DOMAIN); return tevent_req_post(req, ev); } |