• Home
  • cntlm Vs ntlmaps

cntlm Vs ntlmaps

In my new office I faced problem connecting to Internet behind ISA proxy server from my ubuntu desktop. So I googled the first time and found people using ntlmaps. After install and configuration it was working fine but ubuntu became very slow and load quickly reached 8 and 10. sudo dpkg-reconfigure ntlmaps, sudo /etc/init.d/ntlmaps restart, and retry again … because main.py was using most of the CPU !

The solution was not obvious and not practical at all, so second solution found was cntlm, which is the C implementation for NTLM proxy authentication. In the beginning I was not able to find the correct configuration for it but finally got it working correctly by enabling in the configuration file : sudo vi /etc/cntlm.conf :

Username         YourUsername
Domain             CompanyDomain
Password         YourPassword
Header          User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

After it just start the cntlm service sudo /etc/init.d/cntlm start and net was working much more better.

The difference is that cntlm is really fast compared to ntlmaps, and the make of connection reuse really reduced the CPU load. Actually desktop load is under 1 all the time and connection working perfectly. It would be perfect if ubuntu proxy settings could support ISA server,  otherwise the best solution so far will be cntlm.

For more information and download http://cntlm.sourceforge.net/

RSS 2.0 feed. Both comments and pings are currently closed.

Related Posts

No related posts.

Comments are closed.