For Posterity and Future List Readers:

I have resolved this issue quite easily with the help of a third party program called ntlmaps. You can find it on source forge and it is so easy it is almost _too_ easy. The issue is that Microsoft proxy servers like the ISA line default to NTLM based authentication and this is not something which is native to *nix-like os. Thus, the author of the aforementioned app created a go-between proxy server that handles this form of authentication.

The program is little more than a series of python files with a main python executable that you run in the background. With this program listening for requests you basically set your environment variable to point to local host as your proxy and ntlmaps handles the communication and authentication with the ISA server. Pretty slick. In my case I basically set the following env var in crontab so my scheduled scripts would be able to authenticate with the ISA server:

http_proxy=http://127.0.0.1:5687

And ntlmaps is listening on that port for any wget activity generated by the scripts. The domain, username and password, as well as the hostname and port of the ISA server are all set in the config file for the app.

Have fun folks.

Robert


On Jan 11, 2007, at 12:37 PM, Robert wrote:

Hi all,

I am hoping someone here can help me with this quandary. I need to get an automated script working but it is being block by our client's MS ISA 2004 proxy server, which requires authentication.

This is not a problem in other clients who use squid proxy servers that require authentication. To get these to work I simply set the env variable in crontab as such:

http_proxy=http://user:[EMAIL PROTECTED]:8080

With this variable set the script has no problem passing through the proxy to work it's magic (wgetting updates). Unfortunately doing this with an ISA server has not been successful. I have tried doing this:

http_proxy=http://domain\user:[EMAIL PROTECTED]:8080
http_proxy=http://domain/user:[EMAIL PROTECTED]:8080
http_proxy=http://[EMAIL PROTECTED]:[EMAIL PROTECTED]:8080

Always it fails to work. What am I missing? Can someone please advise how to pass authentication information to an ISA proxy server? Thanks!




Reply via email to