Skip to content

NTLM authentication fails when connecting from a windows machine #33

Description

@GoogleCodeExporter
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 mmistr...@gmail.com on 23 Aug 2012 at 3:28

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions