curl / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Isaac Boukris via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 27 Jun 2017 00:33:03 +0300

On Mon, Jun 26, 2017 at 10:18 PM, Павел Н via curl-library
<curl-library_at_cool.haxx.se> wrote:
> 26.06.2017, 16:49, "Павел Н via curl-library" <curl-library_at_cool.haxx.se>:
>> 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: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-06-26