From 58fe4d9c20203f6f55c8e995402e156becb91b3e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 15 Jan 2003 12:52:38 +0000 Subject: Refactor the NTLMSSP code again - this time we use function pointers to eliminate the dependency on the auth subsystem. The next step is to add the required code to 'ntlm_auth', for export to Squid etc. Andrew Bartlett (This used to be commit 9e48ab86da40e4c1cafa70c04fb9ebdcce23dfab) --- source3/include/ntlmssp.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'source3/include/ntlmssp.h') diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h index 673be83532..a8fe345cc5 100644 --- a/source3/include/ntlmssp.h +++ b/source3/include/ntlmssp.h @@ -71,9 +71,18 @@ typedef struct ntlmssp_state { TALLOC_CTX *mem_ctx; enum NTLMSSP_ROLE role; - struct auth_context *auth_context; - struct auth_serversupplied_info *server_info; BOOL unicode; - char *orig_user; - char *orig_domain; + char *user; + char *domain; + char *workstation; + DATA_BLOB lm_resp; + DATA_BLOB nt_resp; + DATA_BLOB chal; + void *auth_context; + const uint8 *(*get_challenge)(void *auth_context); + NTSTATUS (*check_password)(void *auth_context); + + const char *(*get_global_myname)(void); + const char *(*get_domain)(void); } NTLMSSP_STATE; + -- cgit