summaryrefslogtreecommitdiff
path: root/source4/auth/ntlm/auth_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/ntlm/auth_simple.c')
-rw-r--r--source4/auth/ntlm/auth_simple.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/ntlm/auth_simple.c b/source4/auth/ntlm/auth_simple.c
index 2e69991926..f6dd9d0e6b 100644
--- a/source4/auth/ntlm/auth_simple.c
+++ b/source4/auth/ntlm/auth_simple.c
@@ -94,7 +94,8 @@ _PUBLIC_ NTSTATUS authenticate_username_pw(TALLOC_CTX *mem_ctx,
if (user_info_dc->info->authenticated) {
flags |= AUTH_SESSION_INFO_AUTHENTICATED;
}
- nt_status = auth_context->generate_session_info(tmp_ctx, auth_context,
+ nt_status = auth_context->generate_session_info(auth_context,
+ tmp_ctx,
user_info_dc,
nt4_username,
flags,