summaryrefslogtreecommitdiff
path: root/auth/common_auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-03 16:33:44 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-24 11:23:18 +1100
commite3cebef0cf93ddade8e698ea292d2c03cf005a7b (patch)
treeb100ab80d0f342a6a2ea7dbabce3248ce81ecaf9 /auth/common_auth.h
parent8a9b6fe26dc347afd6dc17570354e0af391b351d (diff)
downloadsamba-e3cebef0cf93ddade8e698ea292d2c03cf005a7b.tar.gz
auth: Rename some elements of auth4_context
These operate on NTLM authentication, so make that clear. Andrew Bartlett
Diffstat (limited to 'auth/common_auth.h')
-rw-r--r--auth/common_auth.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index c0fd6b6d603..cf21543a919 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -105,17 +105,17 @@ struct auth4_context {
/* Private data for the callbacks on this auth context */
void *private_data;
- NTSTATUS (*check_password)(struct auth4_context *auth_ctx,
- TALLOC_CTX *mem_ctx,
- const struct auth_usersupplied_info *user_info,
- void **server_returned_info,
- DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key);
+ NTSTATUS (*check_ntlm_password)(struct auth4_context *auth_ctx,
+ TALLOC_CTX *mem_ctx,
+ const struct auth_usersupplied_info *user_info,
+ void **server_returned_info,
+ DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key);
- NTSTATUS (*get_challenge)(struct auth4_context *auth_ctx, uint8_t chal[8]);
+ NTSTATUS (*get_ntlm_challenge)(struct auth4_context *auth_ctx, uint8_t chal[8]);
bool (*challenge_may_be_modified)(struct auth4_context *auth_ctx);
- NTSTATUS (*set_challenge)(struct auth4_context *auth_ctx, const uint8_t chal[8], const char *set_by);
+ NTSTATUS (*set_ntlm_challenge)(struct auth4_context *auth_ctx, const uint8_t chal[8], const char *set_by);
NTSTATUS (*generate_session_info)(struct auth4_context *auth_context,
TALLOC_CTX *mem_ctx,