curl / Mailing Lists / curl-library / Single Mail


Re: [Win][SSPI] proper authentication using SSPI ?

From: Павел Н via curl-library <>
Date: Tue, 27 Jun 2017 00:58:55 +0300

27.06.2017, 00:44, "Isaac Boukris via curl-library" <>:
> On Mon, Jun 26, 2017 at 10:18 PM, Павел Н via curl-library
> <> wrote:
>>  26.06.2017, 16:49, "Павел Н via curl-library" <>:
>>>  Hi all.
>>>  Long time curl and libcurl user and suffering as long to enter proxy creds to the command line.
>>>  In the end this very thing stops us from using libcurl with Windows SSPI in a Windows product, so we suffer even more trying to use WinInet and WinHttp.
> Can you elaborate on what is failing or how it behaves differently
> when you pass the spn?
>>  I guess one simply needs to make InitializeSecurityContext() call in ntlm_sspi.c the same way it is done in digest_sspi.c and spnego_sspi.c.
> Perhaps, but it would be good to know why or what has changed.
> I'd guess that with NTLM the target host might not be required to
> produce output token.
> -------------------------------------------------------------------
> Unsubscribe:
> Etiquette:


I was sure I described that very thoroughly in the original message, also see "P.S." part towards the end of the original message you are citing. I'm happy to elaborate in more detail, but what exactly don't you understand?

Received on 2017-06-27