cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Different behaviour of file upload with NTLM/Negotiate proxy authentication

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Nov 2012 09:23:46 +0100 (CET)

On Tue, 6 Nov 2012, Markus Moeller wrote:

> Unfortunateley that does not work. When I use --anyauth alone curl tries
> BASIC auth and the proxy return auth required as only NTLM and Negotiate are
> supported. After tht curl gives up.

> /opt/curl-7.28/bin/curl -v -A "| MSIE |" -U "DOMAIN\user" --anyauth

This is you providing _proxy_ credentials and then saying you want _host_
authentication. If you want to do proxy authentication you'd use
--proxy-anyauth as it is separate from host.

-- 
  / 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 2012-11-07