cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: NTLM Proxy2.0 and W2003

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 31 May 2005 10:51:16 +0200 (CEST)

On Tue, 31 May 2005, MARTIN FRANCOIS wrote:

> curl -v --proxy-ntlm -x 000.000.000.000:80 -A Mozilla/4.0 -U
> domain\<user>:<password> http://www.wanadoo.fr
>
> * About to connect() to 000.000.000.000 port 80
> * Trying 000.000.000.000... connected
> * Connected to 000.000.000.000 (000.000.000.000 ) port 80
> * Proxy auth using NTLM with user 'domain\<user>'
> > GET http://www.wanadoo.fr HTTP/1.1
> > Proxy-Authorization: NTLM
> TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
> > User-Agent: Mozilla/4.0
> > Host: www.wanadoo.fr
> > Pragma: no-cache
> > Accept: */*
> > Proxy-Connection: Keep-Alive
> >
> < HTTP/1.1 400 Bad Request
> < Server: Microsoft-IIS/4.0
> < Date: Tue, 31 May 2005 07:29:25 GMT
> < Content-Type: text/html
> < Content-Length: 87
> <html><head><title>Error</title></head><body>The parameter is
> incorrect. </body>
> </html>Connection #0 to host 000.000.000.000 left intact
> * Closing connection #0

Eh, the proxy (or server) rejects this attempt. I don't see what curl could do
to deal with this. The proxy doesn't do this due to bad authentication, as
then it would've returned a 407.

Perhaps you could ask your proxy admin.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-31