cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: NTLM authentication verification

From: Pavel Orehov <pcarlo_at_bezeqint.net>
Date: Mon, 18 Apr 2005 15:30:24 +0300

This is the scanario that happens when proxy require
authentication:

1) Client send request with headers that already include NTLM
credentials
2) Proxy check NTLM credentials. If OK continue to 3, else
return 407 error code.
3) Proxy send request to server
4) Proxy get response from server
5) Proxy return respose to client without any NTLM in headers

If proxy did not checked NTLM in 2 (because of some BUG in
proxy) client will get the same response as if NTLM was
checked.

I see two ways to check this:
1) Require from libcurl not to send NTLM credentials in first
request. In this way i will get 407 from proxy and recognize
that NTLM works by headers as you recomended.
2) Some flag in curl that tell me that NTLM check perfromed.

Thanks.
Received on 2005-04-18

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET