1825981 Members
3201 Online
109690 Solutions
New Discussion

PERL/CPAN configuration

 
Pedro Cirne
Esteemed Contributor

PERL/CPAN configuration

Hi,

I was using CPAN to install perl modules, but now my company proyx needs authentication.

I already setup proxy_user and proxy_pass, but I still get the error:

LWP failed with code[407] message[Proxy Authentication Required]

I think the problem is because I'm using a Windows based proxy and I need to specify the Windows domain, not only the user name.

I've tried domain\username, username/domain but without success, any ideia of the correct syntax to use on proxy_user?
1 REPLY 1
Wouter Jagers
Honored Contributor

Re: PERL/CPAN configuration

Hi there,

I've recently encountered similar issues with unix boxes not being able to use a MS proxy (aka ISA server).

Found out that if the proxy uses NTLM authentication, it will only allow requests from what it considers 'valid' agents, being internet explorer and friends :-/

I currently use ntlmaps to get around this. It is a little python-based server which accepts your proxy requests, modifies the headers to match what the ISA server expects, and forwards it to the 'real' proxy server. Works like a breeze.

You can find ntlmaps at http://ntlmaps.sourceforge.net/

Hope that helps,
Cheers,
Wout



an engineer's aim in a discussion is not to persuade, but to clarify.