diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-30 11:17:44 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-01-30 08:05:14 +0100 |
commit | a647df4607cb6d916cd689f92cd27995ca0f9ab4 (patch) | |
tree | a1a8a5ac0455b62fcd427e75ccebe65251686bcb /auth/common_auth.h | |
parent | 7c6713e78ff22ebf0aa1caa10697bad9d4cc885e (diff) | |
download | samba-a647df4607cb6d916cd689f92cd27995ca0f9ab4.tar.gz |
auth: Make check_password and generate_session_info hook generic
gensec_ntlmssp does not need to know the internal form of the
struct user_info_dc or auth_serversupplied_info. This will allow the
calling logic to be put in common.
Andrew Bartlett
Diffstat (limited to 'auth/common_auth.h')
-rw-r--r-- | auth/common_auth.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h index 3991c409ac8..453c0c9efbd 100644 --- a/auth/common_auth.h +++ b/auth/common_auth.h @@ -108,7 +108,8 @@ struct auth4_context { NTSTATUS (*check_password)(struct auth4_context *auth_ctx, TALLOC_CTX *mem_ctx, const struct auth_usersupplied_info *user_info, - struct auth_user_info_dc **user_info_dc); + 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]); @@ -118,7 +119,7 @@ struct auth4_context { NTSTATUS (*generate_session_info)(TALLOC_CTX *mem_ctx, struct auth4_context *auth_context, - struct auth_user_info_dc *user_info_dc, + void *server_returned_info, uint32_t session_info_flags, struct auth_session_info **session_info); |