[Tutor] NTLM authentication, python 2.6 and windows
Steven D'Aprano
steve at pearwood.info
Thu Aug 23 18:13:46 CEST 2012
On 24/08/12 01:42, Marco Mistroni wrote:
> Hi all
> i was wondering if anyone coud provide examples on how to open an URL
> that requires NTLM authentication
> i have tried to use python-ntml but it does not seems to work as i keep on
> getting this errorlib\python2.6\ntlm\ntlm.py", line 219, in
> parse_NTLM_CHALLENGE_MESSAGEerror: unpack requires a string argument of
> length 4
>
> I am running the client code on python 2.6, on a windows 7 machine, and i
> am connecting to an apache tomcat server running on a windows xp machine
Since Python is cross-platform, the operating system is usually the least
important piece of information you need to supply.
What is actually important is the code you are running, and the exact error
message you get.
Show us the code you use, what you expect it to do, and the full traceback
you get. Copy and paste the full traceback: everything from the line
"Traceback (most recent call last)"
all the way to the end of the error message.
You might also like to read this web site for hints on how to ask good
questions that will get good answers -- and sometimes even answer them
yourself:
http://sscce.org/
--
Steven
More information about the Tutor
mailing list