Comment 4 for bug 363019

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 363019] Re: bzr can't do NTLM proxy authentication, but urllib2 can?

On Tue, 2009-08-11 at 00:21 +0000, Martin Pool wrote:
> Ah, I see you're right that it does apparently accept either of them,
> and so the NTLM thing may be a distraction. We may be able to just
> ignore it - though it may also be that the NTLM tcp connection dance
> means the behaviour is different even for Basic auth.
>
> Do you have a traceback in .bzr.log showing where the error is raised
> from?

The basic handshake should be unaltered:
request
denied, [auth schemes]
request w/basic
response

If NTLM is 'just working' with urlib (not urlib2) then we may be doing
something wrong. AFAIK though, we wouldn't interfere with NTLM if the
core supported it.

We might want to consider adopting urlib2 if it does have NTLM built in,
as that would be nice for windows users.

-Rob