diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-01-16 03:29:54 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-01-16 03:29:54 +0000 |
commit | d92b21280edba86b69d3da38bc87d0390c0a3e7f (patch) | |
tree | 1daef00fff482fa097b846d54ec045046261244f /source3/include | |
parent | e4af5eaca6f0fc681733f618562d58c26745978f (diff) | |
download | samba-d92b21280edba86b69d3da38bc87d0390c0a3e7f.tar.gz samba-d92b21280edba86b69d3da38bc87d0390c0a3e7f.tar.bz2 samba-d92b21280edba86b69d3da38bc87d0390c0a3e7f.zip |
Updates to the NTLMSSP code again - moving the base64 decode fuctionality out
of the SWAT code, and adding a base64 encoder.
The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for
use with Squid. Unfortunetly the squid side doesn't quite support what we need
yet.
Changes to winbind to get us the info we need, and a couple of consequential
changes/cleanups in the rest of the code.
Andrew Bartlett
(This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntlmssp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h index a8fe345cc5..79d0446a77 100644 --- a/source3/include/ntlmssp.h +++ b/source3/include/ntlmssp.h @@ -79,10 +79,12 @@ typedef struct ntlmssp_state DATA_BLOB nt_resp; DATA_BLOB chal; void *auth_context; - const uint8 *(*get_challenge)(void *auth_context); - NTSTATUS (*check_password)(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; |