diff options
Diffstat (limited to 'source4/auth/ntlm/auth.c')
-rw-r--r-- | source4/auth/ntlm/auth.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index 18ecf853fce..ecb7d6b1cad 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -449,7 +449,9 @@ _PUBLIC_ NTSTATUS auth_check_password_recv(struct tevent_req *req, state->user_info->mapped.account_name, nt_errstr(status), state->authoritative)); - log_authentication_event(state->user_info, status, + log_authentication_event(state->auth_ctx->msg_ctx, + state->auth_ctx->lp_ctx, + state->user_info, status, NULL, NULL, NULL, NULL); tevent_req_received(req); return status; @@ -461,7 +463,9 @@ _PUBLIC_ NTSTATUS auth_check_password_recv(struct tevent_req *req, state->user_info_dc->info->domain_name, state->user_info_dc->info->account_name)); - log_authentication_event(state->user_info, status, + log_authentication_event(state->auth_ctx->msg_ctx, + state->auth_ctx->lp_ctx, + state->user_info, status, state->user_info_dc->info->domain_name, state->user_info_dc->info->account_name, NULL, |