PDA

View Full Version : F27 dnf not working with authenticating proxies



syracus
23rd November 2017, 09:01 AM
I freshly installed F27 into a virtualbox guest.
Installation process work well so far (from installation media).

Now I want to update the distribution using dnf/yum.
As I'm behind a corporate authenticating proxy I edited



/etc/dnf/dnf.conf

[main]
proxy=http://<fqd_proxy_host>:3128
proxy_user=<my_username>
proxy_password=<my_password>



I get "407 from proxy after CONNECT".



Is there something I'm missing?

Thanks
syracus






29219

syracus
23rd November 2017, 09:16 AM
OK, found that this is still an existing bug reported since F25+.
https://bugzilla.redhat.com/show_bug.cgi?id=1387622

Seems this is related to dnf not supporting NTLM proxy auth protocol.
This also contains a working solution by editing the dnf/repo.py file.

artu72
24th November 2017, 08:31 AM
You can use also cntlm service. It is simple and powerful.