You should check out the win32 API function called "LogonUser" - this has
special flags to do exactly what you want - not perform a "real" logon, but
simply validate the credentials.

This function is exposed in the Python module win32security.  You wont find
many docs on it in Python, as it is a simple wrapper of the Windows
function.  "Python Programming on Win32" does discuss this in a little more
detail.

This subject has also come up on the newsgroup (as most have!) over the last
few years - a deja search may be useful.

Mark.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Saturday, 9 December 2000 7:58 AM
> To: [EMAIL PROTECTED]
> Subject: credential validation
>
>
> Does anyone know of any module that I can use to validate credentials
> against our NT domain?  I would like to have the user enter their
> username/password on a web page without using NT Challenge Response.
> Reason, I need to validate against a database first then if not
> found in the
> database the script will try to validate against the NT Domain
> users/groups.
>
> Thanks for in advance.
>
> -Chris
> _______________________________________________
> ActivePython mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activepython
>

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to