Re: win32security.LogonUser

Discussion in 'Python' started by Darrell Gallion, Jul 8, 2003.

  1. Here's all the privileges I try to get.
    Only SE_UNSOLICITED_INPUT_NAME fails.

    I'm part of a domain and there's something about the
    domain overriding local settings.

    Thanks for your help.
    --Darrell

    SE_SYSTEMTIME_NAME SeSystemtimePrivilege
    SE_ASSIGNPRIMARYTOKEN_NAME
    SeAssignPrimaryTokenPrivilege
    SE_PROF_SINGLE_PROCESS_NAME
    SeProfileSingleProcessPrivilege
    SE_SYSTEM_PROFILE_NAME SeSystemProfilePrivilege
    SE_SYSTEM_ENVIRONMENT_NAME
    SeSystemEnvironmentPrivilege
    SE_LOCK_MEMORY_NAME SeLockMemoryPrivilege
    SE_AUDIT_NAME SeAuditPrivilege
    SE_CHANGE_NOTIFY_NAME SeChangeNotifyPrivilege
    SE_LOAD_DRIVER_NAME SeLoadDriverPrivilege
    SE_SHUTDOWN_NAME SeShutdownPrivilege
    SE_INCREASE_QUOTA_NAME SeIncreaseQuotaPrivilege
    SE_SECURITY_NAME SeSecurityPrivilege
    SE_TCB_NAME SeTcbPrivilege
    SE_CREATE_PAGEFILE_NAME SeCreatePagefilePrivilege
    SE_INC_BASE_PRIORITY_NAME
    SeIncreaseBasePriorityPrivilege
    SE_MACHINE_ACCOUNT_NAME SeMachineAccountPrivilege
    SE_UNSOLICITED_INPUT_NAME SeUnsolicitedInputPrivilege
    Fail
    SE_REMOTE_SHUTDOWN_NAME SeRemoteShutdownPrivilege
    SE_RESTORE_NAME SeRestorePrivilege
    SE_DEBUG_NAME SeDebugPrivilege
    SE_CREATE_PERMANENT_NAME SeCreatePermanentPrivilege
    SE_CREATE_TOKEN_NAME SeCreateTokenPrivilege
    SE_TAKE_OWNERSHIP_NAME SeTakeOwnershipPrivilege
    SE_BACKUP_NAME SeBackupPrivilege
    SeChangeNotifyPrivilege
    SeTcbPrivilege
    SeAssignPrimaryTokenPrivilege
    Testing winprocess.py...
    CMD.EXE exit code:
    Traceback (most recent call last):
    File "E:\su.py", line 64, in ?
    stdout=out, stderr=out)
    File
    "C:\Python22\lib\site-packages\win32\demos\winprocess.py",
    line 163, in run
    child = Process(cmd, **kw)
    File
    "C:\Python22\lib\site-packages\win32\demos\winprocess.py",
    line 104, in __init__
    hUser = logonUser(login)
    File
    "C:\Python22\lib\site-packages\win32\demos\winprocess.py",
    line 34, in logonUser
    win32con.LOGON32_PROVIDER_DEFAULT
    pywintypes.error: (1314, 'LogonUser', 'A required
    privilege is not held by the client.')

    __________________________________
    Do you Yahoo!?
    SBC Yahoo! DSL - Now only $29.95 per month!
    http://sbc.yahoo.com
     
    Darrell Gallion, Jul 8, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mary Chipman

    Re: Impersonation in ASPNET and LogonUser

    Mary Chipman, Sep 3, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    474
    Mary Chipman
    Sep 3, 2003
  2. Darrell

    win32security.LogonUser

    Darrell, Jul 8, 2003, in forum: Python
    Replies:
    1
    Views:
    1,375
    John Abel
    Jul 8, 2003
  3. John Abel

    Re: win32security.LogonUser

    John Abel, Jul 8, 2003, in forum: Python
    Replies:
    0
    Views:
    413
    John Abel
    Jul 8, 2003
  4. Emin.shopper Martinian.shopper

    subprocess and win32security.ImpersonateLoggedOnUser

    Emin.shopper Martinian.shopper, Jun 1, 2009, in forum: Python
    Replies:
    0
    Views:
    369
    Emin.shopper Martinian.shopper
    Jun 1, 2009
  5. Tim Golden
    Replies:
    0
    Views:
    415
    Tim Golden
    Jun 1, 2009
Loading...

Share This Page