From 4aabc4cdfd7c50e37c29f253de4d08107e106a6a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 15 Feb 2003 12:20:22 +0000 Subject: Move our NTLMSSP client code into ntlmssp.c. The intention is to provide a relitivly useful external lib from this code, and to remove the dupicate NTLMSSP code elsewhere in samba (RPC pipes, LDAP client). The code I've replaced this with in cliconnect.c is relitivly ugly, and I hope to replace it with a more general SPENGO layer at some later date. Andrew Bartlett (This used to be commit b2b66909ac2e251f8189e0696b6075dbf748521a) --- source3/include/ntlmssp.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'source3/include') diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h index 9a79707238..4fa4259a6a 100644 --- a/source3/include/ntlmssp.h +++ b/source3/include/ntlmssp.h @@ -89,3 +89,22 @@ typedef struct ntlmssp_state uint32 expected_state; } NTLMSSP_STATE; +typedef struct ntlmssp_client_state +{ + TALLOC_CTX *mem_ctx; + BOOL unicode; + BOOL use_ntlmv2; + char *user; + char *domain; + char *workstation; + char *password; + + const char *(*get_global_myname)(void); + const char *(*get_domain)(void); + + DATA_BLOB session_key; + + uint32 neg_flags; + +} NTLMSSP_CLIENT_STATE; + -- cgit