diff options
author | Joe Orton <notroj@users.noreply.github.com> | 2005-01-20 22:04:23 +0000 |
---|---|---|
committer | Joe Orton <notroj@users.noreply.github.com> | 2005-01-20 22:04:23 +0000 |
commit | daa76142d5159268e1858f2f25f4b8da5adf208d (patch) | |
tree | 1543dab3314b94a5618f3a66b648eed6c9208f9b /config.hw.in | |
parent | 52283b6ccbdabccccea33af5d39c650bd6b29e81 (diff) | |
download | neon-git-daa76142d5159268e1858f2f25f4b8da5adf208d.tar.gz |
Windows SSPI NTLM/Negotiate implementation from Vladimir Berezniker:
* config.hw.in: Define HAVE_SSPI.
* src/ne_sspi.c, src/ne_sspi.h: New files.
* src/ne_auth.c (auth_scheme): Add new schemes to enum.
[HAVE_SSPI] (auth_session): Add sspi_token, sspi_context fields.
(clean_session): Clean up sspi fields.
(request_sspi, sspi_challenge): New functions.
(auth_challenge, ah_pre_send): Handle Negotiate/NTLM-using-SSPI schemes.
* src/ne_socket.c [HAVE_SSPI] (ne_sock_init, ne_sock_exit):
Initialize/de-initialize SSPI global state.
Diffstat (limited to 'config.hw.in')
-rw-r--r-- | config.hw.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.hw.in b/config.hw.in index 5a5fe1b..7813889 100644 --- a/config.hw.in +++ b/config.hw.in @@ -37,6 +37,8 @@ #define HAVE_MEMCPY #define HAVE_SETSOCKOPT +#define HAVE_SSPI + #define NE_FMT_SIZE_T "u" #define NE_FMT_SSIZE_T "d" #define NE_FMT_OFF_T "ld" |