cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Confusing options with --negotiate

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 3 Nov 2011 10:32:57 +0100 (CET)

On Thu, 3 Nov 2011, 1983-01-06_at_gmx.net wrote:

> I have finally managed to compile cURL 7.22 with Negotiate support but spent
> some stupid hours to figure out that I need to pass '-u :' as fake option.
> What is the reason behind this? This is quite confusing. Negotiate should
> work transparently without that fake switch.

KNOWN_BUGS #10:

10. To get HTTP Negotiate authentication to work fine, you need to provide a
   (fake) user name (this concerns both curl and the lib) because the code
   wrongly only considers authentication if there's a user name provided.
   http://curl.haxx.se/bug/view.cgi?id=1004841. How?
   http://curl.haxx.se/mail/lib-2004-08/0182.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-03