Search

Configuring NTLMAPS on fedora

If you have an internet connection that runs behind a proxy , you could face problems installing packages using yum.
To work around this problem you can use ntlmaps
You can download the ntlmaps rpm from

http://sourceforge.net/projects/ntlmaps/

After downloading open a terminal and go to the directory where you have placed the file and run the command

tar -xzvf  ntlmaps-0.9.9.0.1.tar.gz 


cd ntlmaps-0.9.9.0.1  (or what ever folder got created after untar)


Open a file by the name server.cfg using the "vi" or"gedit" 


Update the following fields as required for your network. 


PARENT_PROXY:


PARENT_PROXY_PORT: 


NT_DOMAIN:


USER:


PASSWORD: 




Save the file and quit. 


In the folder ntlmaps-0.9.9.0.1 run the command 


python main.py &


You should see something like :


NTLM authorization Proxy Server v0.9.9
.....................
Now listening at ....... on port 5865




Press enter to get back your prompt. 


To start using yum run the following commands 


export http_proxy=http://127.0.0.1:5865
export ftp_proxy=ftp://127.0.0.1:5865


If every thing has worked fine, try 


yum update 




It should be able to get the updates. 


Note: If you use the above method, the ntlmaps will run only in the terminal where   you have run the export commands and the "python main.py " command. 



Follow by Email