Use SPNEGO for HTTP Negotiate

This is the correct way to do SPNEGO. Just ask for it

Now I correctly see it trying NTLMSSP authentication when a Kerberos ticket
isn't available. Of course, we bail out when the server responds with the
challenge packet, since we don't expect that. But I'll fix that bug next...
This commit is contained in:
David Woodhouse
2014-07-11 10:55:07 +01:00
committed by Daniel Stenberg
parent 9ad282b1ae
commit 59431c242b
5 changed files with 12 additions and 1 deletions

View File

@@ -181,6 +181,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
&gss_minor_status,
&gss_context,
server,
FALSE,
NULL,
gss_token,
&gss_send_token,