cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: how to use --proxy-negotiate, exactly?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 22 Feb 2009 21:01:36 -0700

On Mon, Feb 23, 2009 at 02:38:19AM +0000, Brian J. Murrell wrote:
> Yeah. I had to look at the code to actually discover that I needed to
> give it a username. I would have thought it might get that out of the
> credential cache.

Specifying a user acts like a trigger to begin authentication. Windows' SSPI
auth will use the current credentials, but authentication needs to be enabled
by providing a blank user name/password in the form ":". It sounds like if
Negotiate doesn't already do that, it's a feature that could be added. But
that can wait until this problem is solved.

I don't see anything in the trace that looks suspicious, but I'm not an
expert on Negotiate. curl ought to send an authentication header in the
second round, which it doesn't. You could try the latest curl on the
off chance that something was fixed in this area already.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-23

These mail archives are generated by hypermail.

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

File upload with ASP.NET