mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
smbd: 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
528170ef6b
commit
ce18cd2a3b
@ -2336,9 +2336,9 @@ static enum ndr_err_code fill_qtlist_from_sids(TALLOC_CTX *mem_ctx,
|
||||
|
||||
ok = sid_to_uid(&sids[i], &list_item->uid);
|
||||
if (!ok) {
|
||||
char buf[DOM_SID_STR_BUFLEN];
|
||||
dom_sid_string_buf(&sids[i], buf, sizeof(buf));
|
||||
DBG_WARNING("Could not convert SID %s to uid\n", buf);
|
||||
struct dom_sid_buf buf;
|
||||
DBG_WARNING("Could not convert SID %s to uid\n",
|
||||
dom_sid_str_buf(&sids[i], &buf));
|
||||
/* No idea what to return here... */
|
||||
return NDR_ERR_INVALID_POINTER;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user