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

NTLM authentication fails when connecting from a windows machine #33

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Client is running on a window 7 machine (Or an xp machine) opening a json 
url which should return a json string
2. have an apache tomcat which uses ntlm authentication running
   on a windows xp machine 
3. i am trying the Basic example usage

What is the expected output? a python string

What do you see instead?
File 
"D:\quartz\WINSLA~1\WIN32-~4\build\ext\noarch\lib\python2.6\ntlm\HTTPNtlmAuthHan
dler.py", line 96, in http_error_401
  File "D:\quartz\WINSLA~1\WIN32-~4\build\ext\noarch\lib\python2.6\ntlm\HTTPNtlmAuthHandler.py", line 35, in http_error_authentication_required
  File "D:\quartz\WINSLA~1\WIN32-~4\build\ext\noarch\lib\python2.6\ntlm\HTTPNtlmAuthHandler.py", line 69, in retry_using_http_NTLM_auth
  File "D:\quartz\WINSLA~1\WIN32-~4\build\ext\noarch\lib\python2.6\ntlm\ntlm.py", line 219, in parse_NTLM_CHALLENGE_MESSAGE
error: unpack requires a string argument of length 4

What version of the product are you using? On what operating system?

i don't know the exact version of python ntlm but i m running python version 2.6

i have tried also the extended usage, but it fails with the same problem

could anyone assist?

w/kindest regards
 marco


Original issue reported on code.google.com by [email protected] on 23 Aug 2012 at 3:28

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