cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with NTLM proxy authentication

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Sep 2014 23:28:30 +0200 (CEST)

On Mon, 1 Sep 2014, Ulrich Telle wrote:

Just to clarify a detail on the log you posted, in case it wasn't absolutely
clear:

> Header out: GET http://xyz.com/ HTTP/1.1
> Proxy-Authorization: NTLM
> TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQ
> AFAHAAAAAGAAYAdQAAAAAAAAAAAAAABoKJACjrUgzovGvZAAAAAAA
> AAAAAAAAAAAAAAH8aPq9LDPKDglDlt4O+6kw69fgaLSTJNkxYSlFVU0cx
> NVlS

This is the request that should be the last and fine request, ending the NTLM
"handshake" and yet...

> Header in: HTTP/1.1 407 authenticationrequired

The proxy rejects it, which makes libcurl say:

> Text: NTLM handshake rejected
> Text: Authentication problem. Ignoring this.

It is really not easy to say why it does this. Is the user or password using
any "fun" unicode letters ? Is this using NTLMv2 ?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-01