简体   繁体   English

CentOS 7 yum基本认证

[英]CentOS 7 yum basic authentication

For whatever reason, yum for CentOS 7 isn't using Basic Authentication to authenticate with the http proxy when using the proxy_username and proxy_password lines in yum.conf. 无论出于何种原因,在yum.conf中使用proxy_username和proxy_password行时,CentOS 7的yum都不会使用基本身份验证来对http代理进行身份验证。 CentOS 6 used to use Basic but CentOS 7 is trying ntlm (which is supposed to fail). CentOS 6曾经使用Basic,但是CentOS 7尝试使用ntlm(应该会失败)。 Is there a way to force basic? 有办法强制基本吗?

in /etc/yum.conf set 在/etc/yum.conf中设置
proxy=http://<usernane>:<password>@proxy-url:port

for me it helps with ntlm auth 对我来说,它有助于ntlm auth

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM