diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-15 12:20:22 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-15 12:20:22 +0000 |
commit | 4aabc4cdfd7c50e37c29f253de4d08107e106a6a (patch) | |
tree | b86fee970bae0b8b6a38547ba1fbabaf4dbb9f81 /source3/include/ntlmssp.h | |
parent | ab1035aa1b93ea480b07f3a85925cf0d127606a5 (diff) | |
download | samba-4aabc4cdfd7c50e37c29f253de4d08107e106a6a.tar.gz samba-4aabc4cdfd7c50e37c29f253de4d08107e106a6a.tar.bz2 samba-4aabc4cdfd7c50e37c29f253de4d08107e106a6a.zip |
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)
Diffstat (limited to 'source3/include/ntlmssp.h')
-rw-r--r-- | source3/include/ntlmssp.h | 19 |
1 files changed, 19 insertions, 0 deletions
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; + |