diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-30 13:28:19 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:10 +1000 |
commit | a53a42ffb88fd6b758b8cacf492bceeb93da09c1 (patch) | |
tree | 9fee70bd95fe3641813507ab2fc3cdc8bc08aaf8 /librpc/idl | |
parent | e0cbc68c0a29bc036949adb7be5e140edd07a3b2 (diff) | |
download | samba-a53a42ffb88fd6b758b8cacf492bceeb93da09c1.tar.gz samba-a53a42ffb88fd6b758b8cacf492bceeb93da09c1.tar.bz2 samba-a53a42ffb88fd6b758b8cacf492bceeb93da09c1.zip |
libcli/security Rename all privilege bitmaps constants
The idea here to to make it very clear how they differ from the
enumerated LUID values.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/security.idl | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/librpc/idl/security.idl b/librpc/idl/security.idl index 38ff4ad4af..4f5245b2e4 100644 --- a/librpc/idl/security.idl +++ b/librpc/idl/security.idl @@ -403,42 +403,42 @@ interface security * as a bitmap (privilages.ldb uses the string forms). */ typedef [bitmap64bit] bitmap { - SE_NETWORK_LOGON = 0x00000001, - SE_INTERACTIVE_LOGON = 0x00000002, - SE_BATCH_LOGON = 0x00000004, - SE_SERVICE_LOGON = 0x00000008, - SE_MACHINE_ACCOUNT = 0x00000010, + SEC_PRIV_NETWORK_LOGON_BIT = 0x00000001, + SEC_PRIV_INTERACTIVE_LOGON_BIT = 0x00000002, + SEC_PRIV_BATCH_LOGON_BIT = 0x00000004, + SEC_PRIV_SERVICE_LOGON_BIT = 0x00000008, + SEC_PRIV_MACHINE_ACCOUNT_BIT = 0x00000010, /* Samba-specific privs */ - SE_PRINT_OPERATOR = 0x00000020, - SE_ADD_USERS = 0x00000040, - SE_DISK_OPERATOR = 0x00000080, - - SE_REMOTE_SHUTDOWN = 0x00000100, - SE_BACKUP = 0x00000200, - SE_RESTORE = 0x00000400, - SE_TAKE_OWNERSHIP = 0x00000800, + SEC_PRIV_PRINT_OPERATOR_BIT = 0x00000020, + SEC_PRIV_ADD_USERS_BIT = 0x00000040, + SEC_PRIV_DISK_OPERATOR_BIT = 0x00000080, + + SEC_PRIV_REMOTE_SHUTDOWN_BIT = 0x00000100, + SEC_PRIV_BACKUP_BIT = 0x00000200, + SEC_PRIV_RESTORE_BIT = 0x00000400, + SEC_PRIV_TAKE_OWNERSHIP_BIT = 0x00000800, /* End of privilages implemented before merge to common code */ - SE_INCREASE_QUOTA = 0x00001000, - SE_SECURITY = 0x00002000, - SE_LOAD_DRIVER = 0x00004000, - SE_SYSTEM_PROFILE = 0x00008000, - SE_SYSTEMTIME = 0x00010000, - SE_PROFILE_SINGLE_PROCESS = 0x00020000, - SE_INCREASE_BASE_PRIORITY = 0x00040000, - SE_CREATE_PAGEFILE = 0x00080000, - SE_SHUTDOWN = 0x00100000, - SE_DEBUG = 0x00200000, - SE_SYSTEM_ENVIRONMENT = 0x00400000, - SE_CHANGE_NOTIFY = 0x00800000, - SE_UNDOCK = 0x01000000, - SE_ENABLE_DELEGATION = 0x02000000, - SE_MANAGE_VOLUME = 0x04000000, - SE_IMPERSONATE = 0x08000000, - SE_CREATE_GLOBAL = 0x10000000, + SEC_PRIV_INCREASE_QUOTA_BIT = 0x00001000, + SEC_PRIV_SECURITY_BIT = 0x00002000, + SEC_PRIV_LOAD_DRIVER_BIT = 0x00004000, + SEC_PRIV_SYSTEM_PROFILE_BIT = 0x00008000, + SEC_PRIV_SYSTEMTIME_BIT = 0x00010000, + SEC_PRIV_PROFILE_SINGLE_PROCESS_BIT = 0x00020000, + SEC_PRIV_INCREASE_BASE_PRIORITY_BIT = 0x00040000, + SEC_PRIV_CREATE_PAGEFILE_BIT = 0x00080000, + SEC_PRIV_SHUTDOWN_BIT = 0x00100000, + SEC_PRIV_DEBUG_BIT = 0x00200000, + SEC_PRIV_SYSTEM_ENVIRONMENT_BIT = 0x00400000, + SEC_PRIV_CHANGE_NOTIFY_BIT = 0x00800000, + SEC_PRIV_UNDOCK_BIT = 0x01000000, + SEC_PRIV_ENABLE_DELEGATION_BIT = 0x02000000, + SEC_PRIV_MANAGE_VOLUME_BIT = 0x04000000, + SEC_PRIV_IMPERSONATE_BIT = 0x08000000, + SEC_PRIV_CREATE_GLOBAL_BIT = 0x10000000, /* Windows privs not in the list above */ - SE_REMOTE_INTERACTIVE_LOGON = 0x20000000 + SEC_PRIV_REMOTE_INTERACTIVE_LOGON_BIT = 0x20000000 } se_privilege; typedef [public,bitmap8bit] bitmap { |