Authenticated Proxy support

Dhruva Krishnamurthy (RBIN/EDI3) * Dhruva.Krishnamurthy at in.bosch.com
Fri Sep 2 08:00:07 BST 2005


Hi,
	I finally succeeded in using Bazaar-NG with NTLM auth with a
workaround.
The following are the steps:
1. Download a PYTHON server to do NTML auth through the proxy and open a
port on your local computer [http://geocities.com/rozmanov/ntlm]
2. Configure the server (really simple) and start the server
3. Comment out the line mentioned in the mail below
4. Set the environmental variable http_proxy to point to the computer
and port where the PYTHON server is running (on your local computer in
most cases)

That's it! You are all set to work with "bzr" through proxy & NTLM auth.

Quick question:
	Are "baz" and "bzr" repositories compatible?

With best regards,
Dhruva


> -----Original Message-----
> From: bazaar-ng-bounces at lists.canonical.com 
> [mailto:bazaar-ng-bounces at lists.canonical.com] On Behalf Of 
> Wouter van Heyst
> Sent: Thursday, 1. September 2005 8:09 PM
> To: bazaar-ng at lists.canonical.com
> Subject: Re: Authenticated Proxy support
> 
> <snip>
> > And got:
> > 	$ bzr branch http://bazaar-ng.org/bzr/bzr.dev
> > 	bzr: [Errno 4] IOError: HTTP Error 404: Via: 1.1 FE0APP34, 1.1
> > RBIN_PROXY1
> > 	Content-Length: 229
> > 	Date: Thu, 01 Sep 2005 13:35:30 GMT
> > 	Content-Type: text/html; charset=iso-8859-1
> > 	Server: Apache/2.0.53 (Ubuntu) PHP/4.3.10-10ubuntu4
> > 
> > 	  at
> > 
> D:\python\Lib\site-packages\bzrlib\util\urlgrabber\grabber.py:896 in 
> > 	_make_request()
> > 	see ~/.bzr.log for debug information
> 
> Does it work if you comment out the path = os.path.normpath(path) call
> on line 681 of bzrlib/util/urlgrabber/grabber.py?
> 
> Wouter van Heyst
> 
> 
> 




More information about the bazaar mailing list