Created attachment 1012640 [details] Add user/pass support for repositories Description of problem: With YUM you can use HTTP basic authentication (username and password keywords) in repositories: [reponame] username=foo password=bar baseurl=https://domain.invalid/repo/$releasever/$basearch/ ... This is not supported by DNF. Version-Release number of selected component (if applicable): dnf-0.6.4-1.fc21 How reproducible: Enable HTTP basic authentication on web server and try to download metadata or package with dnf. Steps to Reproduce: 1. 2. 3. Actual results: HTTP error 401. Expected results: Download success. Additional info: Attached single line patch fixes this problem.
Fixed in upstream by https://github.com/rpm-software-management/dnf/pull/251
dnf-plugins-core-0.1.7-1.fc22,hawkey-0.5.5-1.fc22,dnf-1.0.0-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.7-1.fc22,hawkey-0.5.5-1.fc22,dnf-1.0.0-1.fc22
Package dnf-plugins-core-0.1.7-1.fc22, hawkey-0.5.5-1.fc22, dnf-1.0.0-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.7-1.fc22 hawkey-0.5.5-1.fc22 dnf-1.0.0-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7483/dnf-plugins-core-0.1.7-1.fc22,hawkey-0.5.5-1.fc22,dnf-1.0.0-1.fc22 then log in and leave karma (feedback).
dnf-plugins-core-0.1.7-1.fc22, hawkey-0.5.5-1.fc22, dnf-1.0.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.