how to get enough privilege to use LogonUser?

TH Lim sshark97 at
Tue Sep 11 12:46:57 CEST 2001

gerson.kurz at (Gerson Kurz) wrote in message news:<3b9ccff5.6422250 at>...
> On 10 Sep 2001 04:12:12 -0700, sshark97 at (TH Lim) wrote:
> >Hi,
> >
> >I tried win32security.LogonUser(...) method according to the
> >ActiveState document. However, I was thrown the exception 'Not all
> >privileges referenced are assigned to the caller.'
> Quote from MSDN: "In Windows 2000, the process calling LogonUser
> requires the SE_TCB_NAME privilege....In some cases, the process that
> calls LogonUser must also have the SE_CHANGE_NOTIFY_NAME privilege
> enabled; ... to log on a user with the LOGON32_LOGON_INTERACTIVE flag,
> the user (or a group to which the user belongs) must have the
> For more info, see

I have read this but I could not set SE_TCB_NAME without causing any exception.


More information about the Python-list mailing list