1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:kdc: Note use of parent memory context

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-10-05 16:35:52 +13:00 committed by Andrew Bartlett
parent 65a6676cc4
commit 6d3d6f9bbe

View File

@ -2633,6 +2633,10 @@ krb5_error_code samba_kdc_update_pac(TALLOC_CTX *mem_ctx,
auth_user_info_dc = user_info_dc_const;
}
/*
* Allocate the audit info and output status on to the parent
* mem_ctx, not the temporary context.
*/
code = samba_kdc_allowed_to_authenticate_to(mem_ctx,
samdb,
lp_ctx,