mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
winbindd: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
bd1e43f7cb
commit
528170ef6b
@ -57,9 +57,9 @@ struct tevent_req *wb_lookupusergroups_send(TALLOC_CTX *mem_ctx,
|
|||||||
|
|
||||||
domain = find_domain_from_sid_noinit(&state->sid);
|
domain = find_domain_from_sid_noinit(&state->sid);
|
||||||
if (domain == NULL) {
|
if (domain == NULL) {
|
||||||
char buf[DOM_SID_STR_BUFLEN];
|
struct dom_sid_buf buf;
|
||||||
dom_sid_string_buf(&state->sid, buf, sizeof(buf));
|
DBG_WARNING("could not find domain entry for sid %s\n",
|
||||||
DEBUG(1,("could not find domain entry for sid %s\n", buf));
|
dom_sid_str_buf(&state->sid, &buf));
|
||||||
tevent_req_nterror(req, NT_STATUS_NO_SUCH_DOMAIN);
|
tevent_req_nterror(req, NT_STATUS_NO_SUCH_DOMAIN);
|
||||||
return tevent_req_post(req, ev);
|
return tevent_req_post(req, ev);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user