This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dholth
Recipients deronnax, dholth, orsenthil
Date 2014-09-27.16:07:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411834059.3828748.172419989.3C2AFC4E@webmail.messagingengine.com>
In-reply-to <1411710696.24.0.271202255734.issue22496@psf.upfronthosting.co.za>
Content
I am not the copyright holder, I only maintain the pypi package for
python-ntlm. I might have 10 lines of my own code in the whole package.

If running on Windows it would be great to have out of the box "native
windows NTLM" which can be done somehow with the win32 module, I
think...

It may also be possible to use Kerberos authentication (NTLMv2) instead
of NTLM in most cases these days; since after Windows 2000 according to
Wikipedia.

On Fri, Sep 26, 2014, at 01:51 AM, Senthil Kumaran wrote:
> 
> Senthil Kumaran added the comment:
> 
> Yes, urllib2 does not have any support for NTML based authentication. 
> And it is a long pending feature request too.
> 
> For 2.7, the best way to handle this might be, instead of crashing on
> WWW-Authenticate: Negotiate, which is a valid response from IIS (1). It
> should detect it and fail with a helpful message to use a 3rdparty
> handler along with urllib2 [2]
> 
> And for 3.5, I think it is worthy to consider adding the support in
> stdlib.
> @Daniel Holth - I see you are the owner of it. If we choose to adopt it,
> do you give permission to reuse portions of code (with correct
> attribution) in the stdlib?
> 
> 1) http://msdn.microsoft.com/en-us/library/ms995330#http-sso-2_topic1
> 2) https://code.google.com/p/python-ntlm/
> 
> ----------
> assignee:  -> orsenthil
> nosy: +dholth
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue22496>
> _______________________________________
History
Date User Action Args
2014-09-27 16:07:41dholthsetrecipients: + dholth, orsenthil, deronnax
2014-09-27 16:07:41dholthlinkissue22496 messages
2014-09-27 16:07:40dholthcreate