Bug 1387622
Summary: | add proxy auth method option | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Kabakaev <kabakaev+bugzilla+redhat> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 26 | CC: | arrarexcaravels, bilal05beny, fabio.venturi.linux, formisc, jan.brummer, jmracek, mblaha, mmraka, packaging-team-maint, rpm-software-management, vmukhame |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-29 12:00:57 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
Alexander Kabakaev
2016-10-21 11:54:47 UTC
Some proxies won't authorize correctly with general setting, so ideally you'll want to specify the authentication method that your proxy uses. A new option to specify proxy auth type should solve it. This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. What are the chances to see in in version 26? I still get this error in fedora 26. The only thing that solves it for me is editing /usr/lib/python3.6/site-packages/dnf/repo.py and changing the following as described by Alexander: - h.setopt(librepo.LRO_PROXYAUTH, True) + h.setopt(librepo.LRO_PROXYAUTHMETHODS, 8) Adding the option to specify an authentication method, as Michael suggests, sounds like a good idea. Any ideas when this will be fixed? I have to change this manually after every dnf update. I would assume all users behind an ntlm proxy are affected. When will this be fixed? dnf doesn't work with ISA server ( NTLM ) in Fedora 27 ! Same problem with Fedora release 26, DNF behind proxy is not working anymore with proxy/credential as env variables or in yum.conf or in dnf.conf Same credential works on Firefox to browse the web. It feel like DNF is very very bad compared to YUM... - Fabio What's the recommended way to patch this issue? Do you want a pull request with this small change? I've tested this patch on a private (no proxy) and on my company (proxy) machine, there are no obvious regression. This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. PR: https://github.com/rpm-software-management/libdnf/pull/461, https://github.com/rpm-software-management/dnf/pull/1092/files Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. The issue is solved by dnf-3.0.1-1 that was released into rawhide. |