summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
Diffstat (limited to 'auth')
-rw-r--r--auth/common_auth.h1
-rw-r--r--auth/ntlmssp/ntlmssp_server.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index d1a775d431a..5d232f4d09b 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -110,6 +110,7 @@ struct auth4_context {
NTSTATUS (*check_ntlm_password)(struct auth4_context *auth_ctx,
TALLOC_CTX *mem_ctx,
const struct auth_usersupplied_info *user_info,
+ uint8_t *pauthoritative,
void **server_returned_info,
DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key);
diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c
index ddee8756bfe..eab8121448e 100644
--- a/auth/ntlmssp/ntlmssp_server.c
+++ b/auth/ntlmssp/ntlmssp_server.c
@@ -726,9 +726,12 @@ static NTSTATUS ntlmssp_server_check_password(struct gensec_security *gensec_sec
user_info->password.response.nt.data = talloc_steal(user_info, ntlmssp_state->nt_resp.data);
if (auth_context->check_ntlm_password) {
+ uint8_t authoritative = 0;
+
nt_status = auth_context->check_ntlm_password(auth_context,
gensec_ntlmssp,
user_info,
+ &authoritative,
&gensec_ntlmssp->server_returned_info,
user_session_key, lm_session_key);
}