Bug 843693

Summary: RPM does not supports proxies with NTLM, but CURL already support
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: rpmAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: ffesti, jnovy, packaging-team, pknirsch, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-30 07:36:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.