1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

pam_winbind: Fix Bug 15771

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15771

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2024-12-16 17:49:43 +01:00
parent e0aab377bd
commit 7e8bfe738a

View File

@ -2527,6 +2527,7 @@ static char* winbind_upn_to_username(struct pwb_context *ctx,
/* Convert the UPN to a SID */ /* Convert the UPN to a SID */
wbc_status = wbcCtxLookupName(ctx->wbc_ctx, domain, name, &sid, &type); wbc_status = wbcCtxLookupName(ctx->wbc_ctx, domain, name, &sid, &type);
TALLOC_FREE(name);
if (!WBC_ERROR_IS_OK(wbc_status)) { if (!WBC_ERROR_IS_OK(wbc_status)) {
return NULL; return NULL;
} }