Page 1 of 1

HTTP Proxy configuration with YUM

Posted: 2007/01/04 17:22:34
by blimpman
CentOS 4.3

I cannot seem to get the authentication to work thru my corporate firewall in oder to use YUM.

In the yum.conf file I have added the [b]proxy_username= [/b], [b]proxy=http://ipaddress:port[/b] & the [b]proxy_password=[/b] lines for YUM to use to get thru my firewall. I still get the
HTTP Error 407 for being unauthorized. :-(

Is there any other place to configure HTTP Proxy access?

Re: HTTP Proxy configuration with YUM

Posted: 2007/01/05 08:37:18
by arrfab
What kind of proxy are you using upstream ? if it's a Microsoft ISA proxy, it's probably configured only for ntlm authentication and not basic/clear text.
Use a intermediate proxy that you can install on your box like this one : http://ntlmaps.sourceforge.net/
I've used it several times to access the net through a isa proxy without any problems ...

Re: HTTP Proxy configuration with YUM

Posted: 2007/04/17 09:06:14
by BramV
Hi,
can anyone help me with ntlmaps? I'm quite new to linux.
I run CentOS 4 single server CD (no X server/GUI) and used ntlmaps in Ubuntu Server before with succes.
In Ubuntu i got this 'interface' that guided me through the configuration en installed ntlmaps automatically.

In CentOS:
i downloaded [url=http://rpm.pbone.net/index.php3/stat/4/idpl/2037430/com/ntlmaps-0.9.9.6-1.i386.rpm.html]ntlmaps-0.9.9.6-1.i386.rpm[/url]
Installed it with rpm -i ntlmaps-0.9.9.6-1.i386.rpm
Changed the server.cfg.
And then i run "./main.py"
But then the process starts in the foreground. So i can't really work.
Starting it as "./main.py &" doesn't help.

What is de easiest way to run ntlmaps as a service or in the background?

Re: HTTP Proxy configuration with YUM

Posted: 2009/09/17 14:57:43
by nunana
Make a script in /etc/init.d (I named it ntlmaps.sh)
cd /etc/init.d
vim ntlmaps.sh

the script contains:
#!/bin/bash
/usr/bin/ntlmaps &

Make a soft link /etc/rc5.d

cd /etc/rc5.d
ln -s ../init.d/ntlmaps.sh S99z_ntlmaps

after a reboot the ntlmaps is started. You can check this with:
ps -ef | grep ntlmaps

Re: HTTP Proxy configuration with YUM

Posted: 2009/09/17 15:47:25
by pjwelsh
Edit: I did not initially realize that this OLD thread got reborn... sorry.