[Zope] Authenticating against NT domain from NT-based Zope

spinwing@inwind.it spinwing@inwind.it
Thu, 15 Mar 2001 20:25:05 +0100


Hello Ian

sorry, I missed that. The only pointers I can give you is the following. 

Reading the "Python Programming on Win32" from O'Reilly, there is a short example on how to reboot a machine. In this example it is mentioned to refer to the MS WinNT Security document. Looks like the win32security module is just a wrapper around the standard MFC or C API for Microsoft. 

I have found http://msdn.microsoft.com/library/psdk/winbase/accclsrv_9cfm.htm. In this pointer is stated that the flag LOGON32_LOGON_NETWORK is associated with limitations as: "to authenticate clear text passwords". I suppose you did not tricked the registry to send clear password over the network, so this can be one problem. It could be that you should use LOGON32_LOGON_BATCH.

Let me know, I' curious. 
Regards
Stefano


Dear Stefano,

> have you tried to do this in an External Method rather than in a
> script? Scripts have security checks which are not applied to
> external methods. This can be a little help in solving the problem.

Indeed. The script I gave in my original email <
http://groups.yahoo.com/group/zope/message/54291 > isn't actually a Zope
Python Script. It's just a standalone bit of Python that I can't get to
work. Technically, I suppose, I'm having problems with the win32security
module (I'm still keen to find some documentation if anyone can point me
in the right direction), rather than Zope, but I was hoping someone here
would have had similar problems.

Cheers,
Ian