http urllib implementation doesn't support NTLM auth scheme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Bazaar |
Medium
|
Unassigned | ||
| Breezy |
Low
|
Unassigned |
Bug Description
Windows users may use proxies that allows only NTLM authentication scheme (see bug #244448).
NTLMaps - http://
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
John A Meinel (jameinel) wrote : Re: [Bug 244879] Re: http urllib implementation doesn't support NTLM auth scheme | #2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gareth White wrote:
> I'm one of those people unfortunate enough to be behind an NTLM proxy at
> work. As such it's currently very difficult to download branches from
> launchpad, whether it be Bazaar plugins or Bazaar itself. I've
> successfully used http://
> to indirectly work with the NTLM proxy but it would be nicer if Bazaar
> supported it natively.
>
There seems to be:
http://
and
http://
The latter seems like it integrates cleanly with the rest of the urllib2
authentication infrastructure, so it might be possible to integrate.
Though we don't really have access to such a proxy for testing.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkt
WfIAnjmqPXgr6+
=USlS
-----END PGP SIGNATURE-----
Jelmer Vernooij (jelmer) wrote : | #3 |
bzr-tfs has some code for dealing with ntlm.
tags: | added: http |
tags: | added: authentication |
Nelson Benitez (gnel) wrote : | #4 |
The unfortunate design flaw that Bazaar made here was to use the plain urllib module for accessing http and https resources.
Such an important tool like Bazaar should have used a more mature and featureful lib for that matter like libcurl is. Git uses libcurl and so adding NTLM support was just a one-liner patch [1], same as the YUM download manager did [2].
The correct fix would be to port Bazaar from urllib to libcurl as it automatically supports NTLM and several other proxy authentication methods [3].
[1] https:/
[2] https:/
[3] http://
Vincent Ladeuil (vila) wrote : | #5 |
> The unfortunate design flaw that Bazaar made here was to use the plain urllib module for accessing http and https resources.
bzr has a pycurl-based http client implementation since... the early days.
This bug is about providing NTLM for the urlib2-based implementation.
Nelson Benitez (gnel) wrote : | #6 |
Ok, I take back my previous comment then.. do you know which criteria Bazaar takes to use urllib of pycurl ?
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
I'm one of those people unfortunate enough to be behind an NTLM proxy at work. As such it's currently very difficult to download branches from launchpad, whether it be Bazaar plugins or Bazaar itself. I've successfully used http:// tredosoft. com/ntlm_ proxy_server to allow Bazaar to indirectly work with the NTLM proxy but it would be nicer if Bazaar supported it natively.