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

s4:kdc: Initialize out parameter of samba_kdc_get_user_info_from_db()

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-03 17:01:07 +13:00 committed by Andrew Bartlett
parent 0ed6d11e58
commit d57062300f

View File

@ -1143,6 +1143,8 @@ krb5_error_code samba_kdc_get_user_info_from_db(TALLOC_CTX *mem_ctx,
return KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN;
}
*info_out = NULL;
if (entry->info_from_db == NULL) {
struct loadparm_context *lp_ctx = entry->kdc_db_ctx->lp_ctx;