Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174885 - net-misc/curl-7.15.1-r1 does not support --proxy-ntlm (with USE=gnutls)
Summary: net-misc/curl-7.15.1-r1 does not support --proxy-ntlm (with USE=gnutls)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-17 09:01 UTC by Thomas Heinz
Modified: 2007-06-11 08:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Heinz 2007-04-17 09:01:28 UTC
Using the option "--proxy-ntlm" leads to the following error:

curl: option --proxy-ntlm: the installed libcurl version doesn't support this


`equery uses curl` yields:
 - - ares     : Enabled c-ares dns support
 + + gnutls   : Adds support for net-libs/gnutls
 + + idn      : Enable support for Internationalized Domain Names
 + + ipv6     : Adds support for IP version 6
 + + kerberos : Adds kerberos support
 + + ldap     : Adds LDAP support (Lightweight Directory Access Protocol)
 + + ssl      : Adds support for Secure Socket Layer connections
 - - test     : Workaround to pull in packages needed to run with FEATURES=maketest / FEATURES=test


Reproducible: Always

Steps to Reproduce:
Comment 1 Thomas Heinz 2007-04-27 10:41:04 UTC
I found the problem. I have both 'gnutls' and 'ssl' enabled as use flags. This causes the '--without-ssl' to be used during configure which prevent '--proxy-ntlm' from working. Removing the gnutls use flag for curl solved the problem.

Is this desired/expected behaviour?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-10 11:14:54 UTC
dragonheart - can you take this one? Re-assigning wrt Bug 171155
Comment 3 Daniel Black (RETIRED) gentoo-dev 2007-06-10 13:48:46 UTC
(In reply to comment #1)
> I found the problem. I have both 'gnutls' and 'ssl' enabled as use flags. This
> causes the '--without-ssl' to be used during configure which prevent
> '--proxy-ntlm' from working. Removing the gnutls use flag for curl solved the
> problem.
> 
> Is this desired/expected behaviour?
> 

Yes this is the functionally that upstream built. I just tested with the CVS version of curl and gnutls doesn't support proxy ntlm authentication.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2007-06-11 08:56:33 UTC
confirmed as per URL.

FAQ updated in next curl version.

It is possible to patch Curl to have a GnuTLS NTLM version as Daniel Bagder mentions so if you're up for a programming challenge feel free to attach a patch to the sf bugtrack pages.