summaryrefslogtreecommitdiff
path: root/auth/common_auth.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-06-16 17:18:17 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-08-07 15:20:03 +0200
commite8264d9678dff1cf56f7ac97d8a1a59b9532b6b8 (patch)
tree8c61041d4550982fc4f9d7efa4d4dcfc7b0d7831 /auth/common_auth.h
parent7d43aecb5002902486a6c57ff14a1dcbd64b0f40 (diff)
downloadsamba-e8264d9678dff1cf56f7ac97d8a1a59b9532b6b8.tar.gz
auth/common: add support for auth4_ctx->check_ntlm_password_send/recv()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth/common_auth.h')
-rw-r--r--auth/common_auth.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index 507971794f3..3de227ee354 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -131,6 +131,16 @@ struct auth4_context {
uint8_t *pauthoritative,
void **server_returned_info,
DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key);
+ struct tevent_req *(*check_ntlm_password_send)(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct auth4_context *auth_ctx,
+ const struct auth_usersupplied_info *user_info);
+ NTSTATUS (*check_ntlm_password_recv)(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx,
+ uint8_t *pauthoritative,
+ void **server_returned_info,
+ DATA_BLOB *nt_session_key,
+ DATA_BLOB *lm_session_key);
NTSTATUS (*get_ntlm_challenge)(struct auth4_context *auth_ctx, uint8_t chal[8]);