[python-win32] SSPI/NTLM authentication via XMLRPC

Mark Hammond skippy.hammond at gmail.com
Fri Oct 9 07:09:25 CEST 2009


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


More information about the python-win32 mailing list