Hi,
cntlm is all set up and working correctly: in /etc/cntlm.conf I have username1 and password1 set!
apt is also configured: cat /etc/apt/apt.conf.d/95proxies
Acquire::http::Proxy "http://localhost:3128"; Acquire::ftp::Proxy "http://localhost:3128";
However I have an apt-repository that uses basic authentication (username2:password2)
/etc/apt/sources.list includes the line deb http://username2:password2@mysite.com/debian stable/
And sudo apt-get update now fails on this particular repository with basic auth!
Err http://mysite.com stable/ Release.gpg Connection failed [IP: 127.0.0.1 3128] W: Failed to fetch http://mysite.com/debian/stable/Release.gpg Connection failed [IP: 127.0.0.1 3128]
All other repositories (debian) work.
Is this known? It this a cntlm issue, or an apt issue?
Oh... I forget to mention the workaround. If I bypass cntlm, and go straight to the windows ISA proxy:
cat /etc/apt/apt.conf.d/95proxies
Acquire::http::Proxy "http://username1:password1@192.1.1.5:3128"; Acquire::ftp::Proxy "http://username1:password1@192.1.1.5:3128";
it works perfectly.
But I want to use cntlm! Any suggestions? Thanks
As additional information... when using cntlm
wget http://username2:password2@mysite.com/debian
fails!
But
wget -c --http-user=username2 --http-password=password2 http://mysite.com/debian -dv
works correctly...
Perhaps this is related? Thanks.
Log in to post a comment.
Hi,
cntlm is all set up and working correctly: in /etc/cntlm.conf I have username1 and password1 set!
apt is also configured:
cat /etc/apt/apt.conf.d/95proxies
However I have an apt-repository that uses basic authentication (username2:password2)
/etc/apt/sources.list includes the line
deb http://username2:password2@mysite.com/debian stable/
And sudo apt-get update now fails on this particular repository with basic auth!
All other repositories (debian) work.
Is this known? It this a cntlm issue, or an apt issue?
Last edit: zackeee 2014-04-26
Oh... I forget to mention the workaround.
If I bypass cntlm, and go straight to the windows ISA proxy:
cat /etc/apt/apt.conf.d/95proxies
it works perfectly.
But I want to use cntlm! Any suggestions?
Thanks
As additional information... when using cntlm
fails!
But
works correctly...
Perhaps this is related?
Thanks.