[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Connecting to a Microsoft Proxy Server



On Fri, Jan 26, 2001 at 02:22:34PM -0500, Miller, Jim wrote:
> Hello all,
>   I have Debian 2.2 Rev 2 running on an NT run network.  The Internet
> Connection here is via a Microsoft Proxy Server.  What is the easiest way to
> connect to the Microsoft proxy server.  I am interested primarily for
> running apt at this time!!!!

What have you tried so far?

This may work:
export http_proxy=http://proxy.mycompany.com:80/
export ftp_proxy=http://proxy.mycompany.com:80/
export no_proxy=".mycompany.com"

Or if NTLM authentication is turned on, something like this:
export http_proxy="http://mydomain\myuserid:mypasswd@proxy.mycompany.com:80/";
export ftp_proxy="http://mydomain\myuserid:mypasswd@proxy.mycompany.com:80/";
export no_proxy=".mycompany.com"

BTW, these proxy settings (including the password kluge) will work with
wget as well as with apt.  Lynx, Netscape 4.76, and Mozilla 0.7 all can
handle NTLM with prompting for id and password.

And, no, clear text passwords in environment variables are _not_ a good
idea!  But if you're trapped behind an NT proxy, desperate measures may
be necessary ;).

Finally ... there is more than one way to set up an NT proxy; the above
have worked for me in one particular environment.  Your mileage may vary.

-- 
Michael E. Touloumtzis		mailto:Michael.Touloumtzis@ca.com
Ingres Product Development	Computer Associates International



Reply to: