Bug 843693 - RPM does not supports proxies with NTLM, but CURL already support
Summary: RPM does not supports proxies with NTLM, but CURL already support
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-27 04:42 UTC by Mikhail
Modified: 2012-07-30 07:36 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-30 07:36:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2012-07-27 04:42:44 UTC
Description of problem:
RPM does not supports proxies with NTLM, but CURL already support

$ sudo rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB
curl: (7) couldn't connect to host
error: http://yum.mariadb.org/RPM-GPG-KEY-MariaDB: import read failed(2).

Please see there issue which already fixed: https://bugzilla.redhat.com/show_bug.cgi?id=769254

Comment 1 Panu Matilainen 2012-07-30 07:36:19 UTC
Rpm itself doesn't talk to proxies, it just calls an external helper (curl by default) for any remote files according to configuration. So if curl works with NTLM proxies with some extra switches, it's just a matter of telling rpm's configuration about those switches, for example:

# echo "%__urlhelper_localopts --proxy-ntlm" > /etc/rpm/macros.proxy

That will cause rpm to add --proxy-ntlm to the options curl gets called with. Adjust as necessary.


Note You need to log in before you can comment on or make changes to this bug.