[python-win32] NTLM authentication using win32security and sspi

Aditya Jayraman adit99 at gmail.com
Tue Feb 3 03:04:58 CET 2009


Mark,

Thanks for replying.
I just found the examples just after posting the question.
They are quite useful.

Thanks
Aditya

On Mon, Feb 2, 2009 at 5:57 PM, Mark Hammond <skippy.hammond at gmail.com>wrote:

> On 3/02/2009 10:51 AM, Aditya Jayraman wrote:
>
>>
>> Hi
>>
>> I am a newbie to pywin32 and windows programming.
>>
>> I am trying to achieve NTLM authentication using the win32security and
>> sspi modules.
>> Basically what I need to do is "verify the client's response to the
>> server's challenge", like what a DC would do
>> to complete the NTLM authentication between a client and a server.
>>
>
> I'm afraid it's not that simple - authentication is a multi-step process
> and needs to be done as the sspi samples do.  The
> win32\Demos\security\sspi\socket_server.py sample should put you on the
> right track though - it implements a server that performs NTLM
> authentication with clients.
>
> Cheers,
>
> Mark
>



-- 
-Aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090202/245db389/attachment.htm>


More information about the python-win32 mailing list