summaryrefslogtreecommitdiff
path: root/source3/include/ntlmssp.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/ntlmssp.h')
-rw-r--r--source3/include/ntlmssp.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h
index 673be83532..79d0446a77 100644
--- a/source3/include/ntlmssp.h
+++ b/source3/include/ntlmssp.h
@@ -71,9 +71,20 @@ 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)(struct ntlmssp_state *ntlmssp_state);
+ NTSTATUS (*check_password)(struct ntlmssp_state *ntlmssp_state);
+
+ const char *(*get_global_myname)(void);
+ const char *(*get_domain)(void);
+
+ int server_role;
} NTLMSSP_STATE;
+