1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

s3-winbind: Use token as parent for token->sids in check_info3_in_group()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2023-09-27 09:42:55 +13:00
parent 934b033550
commit 4e8e35de7f

View File

@ -469,7 +469,7 @@ static NTSTATUS check_info3_in_group(struct netr_SamInfo3 *info3,
return NT_STATUS_NO_MEMORY;
}
status = sid_array_from_info3(talloc_tos(), info3,
status = sid_array_from_info3(token, info3,
&token->sids,
&token->num_sids,
true);