Debilitating NTLM proxy
March 29, 2012 Leave a comment
It is interesting to note how a corporate NTLM proxy can cause untold misery.
The saviour in this case is cntlm but I had to set it up in the following ways.
Environment
admin@LINUX:~/graphite/graphite-web-0.9.9/webapp/graphite$ env | grep "proxy" http_proxy=http://127.0.0.1:3129 ftp_proxy=http://127.0.0.1:3129 https_proxy=http://127.0.0.1:3129
~/.bashrc
export http_proxy=http://127.0.0.1:3129 export https_proxy=http://127.0.0.1:3129 export ftp_proxy=http://127.0.0.1:3129
After all this I had to set it up again for a ruby gem installation.
sudo gem install fpm --http-proxy=http://127.0.0.1:3129
Sometimes I had to watch the verbose output from cntlm to be sure that I am not
being fooled by a wrong setup.