[python-win32] SSPI/NTLM authentication via XMLRPC

David admin at dmarkey.com
Fri Oct 9 17:42:10 CEST 2009


Thanks,
Sorry for not doing my homework but what does the "auth dance" entail, how
many backwards and forwards would there be, seeing as every bit of data
would have to be encapsulated via xmlrpc, would that potentially mean many
calls?



On Fri, Oct 9, 2009 at 6:09 AM, Mark Hammond <skippy.hammond at gmail.com>wrote:

> On 9/10/2009 10:11 AM, David wrote:
>
>> Hi,
>>
>> I was wondering if this would be possible:
>>
>> At the minute i have a login xmlrpc call that takes a username/password
>> as an argument. simple enough, authenticates off the windows domain via
>> LogonUser(pywin32), the user then gets a cookie for the session(to
>> execute further xmlrpc calls).
>>
>> I was wondering if it would be possible to achieve SSO using SSPI/NTLM
>> via XMLRPC?
>>
>> I see an example in win32/Demos/sspi/socket_server.py, im not sure if
>> something similar could be used via XMLRPC.
>>
>
> Off the top of my head I can't see why not if you control both the client
> and the server and don't mind making them do an auth dance to set things up
> - you probably want to check out the simple_auth.py sample for some idea of
> how it could be implemented.
>
> Cheers,
>
> Mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20091009/38872ba0/attachment.htm>


More information about the python-win32 mailing list