Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Authentication with empty domain. #44

Open
GoogleCodeExporter opened this issue Apr 7, 2015 · 2 comments
Open

Allow Authentication with empty domain. #44

GoogleCodeExporter opened this issue Apr 7, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Attempt to login with 'user@domain.com' (required for hosted exchange)
2. Initiate connection

Received Traceback:

  File "/home/red15/code/pyex/local/lib/python2.7/site-packages/ntlm/HTTPNtlmAuthHandler.py", line 72, in retry_using_http_NTLM_auth
    UserName = user_parts[1]
IndexError: list index out of range


What version of the product are you using? On what operating system?
(pip install ntlm) date June 12 2014

Please provide any additional information below.

It worked when I added following patch in HTTPNtlmAuthHandler.py

Original issue reported on code.google.com by red15...@gmail.com on 12 Jun 2014 at 6:40

Attachments:

@GoogleCodeExporter
Copy link
Author

Keep in mind the patch is very rough work but should communicate my intention 
quite well.

A grep also showed me there is some code that repeats itself here, maybe it's 
time to do a little bit of refactoring. I would gladly help out if you accept 
patches.

Original comment by red15...@gmail.com on 12 Jun 2014 at 6:45

Attachments:

@GoogleCodeExporter
Copy link
Author

Issue 39 has been merged into this issue.

Original comment by deron...@gmail.com on 24 Oct 2014 at 11:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant