summaryrefslogtreecommitdiffstats
path: root/source4/auth/ntlm/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/ntlm/auth.c')
-rw-r--r--source4/auth/ntlm/auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index 263dc8031d..a8c257f94a 100644
--- a/source4/auth/ntlm/auth.c
+++ b/source4/auth/ntlm/auth.c
@@ -469,7 +469,8 @@ static NTSTATUS auth_generate_session_info_wrapper(struct auth4_context *auth_co
DEBUG(1, ("Cannot contact winbind to provide unix token\n"));
return NT_STATUS_INVALID_SERVER_STATE;
}
- status = auth_session_info_fill_unix(wbc_ctx, auth_context->lp_ctx,
+ status = auth_session_info_fill_unix(wbc_ctx->event_ctx,
+ auth_context->lp_ctx,
original_user_name, *session_info);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(*session_info);