cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-3046066 ] Wrong proxy Negotiation (kerberos) authentization

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 16 Aug 2010 20:05:05 +0000

Bugs item #3046066, was opened at 2010-08-16 10:51
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3046066&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: https
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: luf (luf)
Assigned to: Daniel Stenberg (bagder)
Summary: Wrong proxy Negotiation (kerberos) authentization

Initial Comment:
I'm unable to use curl with all https:// URLs when my proxy uses kerberos authentization:
curl --proxy http://myproxy:3128 --proxy-negotiate --proxy-user : https://email.seznam.cz
407 Proxy Auht required
when
curl --proxy http://myproxy:3128 --proxy-negotiate --proxy-user : http://email.seznam.cz
works ok.

OS: Fedora 12
$ curl -V
curl 7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.6 NSS/3.12.6.2 zlib/1.2.3 libidn/1.9 libssh2/1.2.4
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile SSL libz

I track down the error to http_negotiation.c where is mistake in using olny userpwd even for proxy requests. The error is even in git.
I attach patch for this problem.

Please could you take a look on the patch a solve the issue? I'll create such bug report to Fedora and Ubuntu to speed up the solution in basic distributions.

Thank you very much

Ludek Finstrle

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2010-08-16 22:05

Message:
Thanks a lot. I'll use the spirit of your patch and do it slightly
different in a way I think makes nicer code. See the attachment to this bug
entry.

If you tell me your real name, I'll give you proper credit in the
commit/changelog.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3046066&group_id=976
Received on 2010-08-16

These mail archives are generated by hypermail.

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

File upload with ASP.NET