summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-07 12:55:43 +0200
committerGünther Deschner <gd@samba.org>2010-06-07 12:58:46 +0200
commit0604df52e3b161e010ad4f1aba1a4bc7973c64c1 (patch)
treeb666f623805137661b5146e27a9e8efdb0307a6e /source3
parent5def19e4dc0b9f15fa30f7895a2b016c4e59abb0 (diff)
downloadsamba-0604df52e3b161e010ad4f1aba1a4bc7973c64c1.tar.gz
samba-0604df52e3b161e010ad4f1aba1a4bc7973c64c1.tar.bz2
samba-0604df52e3b161e010ad4f1aba1a4bc7973c64c1.zip
s3-lsa: Fix static list of luids in our privileges implementation.
The high/low order changed while moving to LSA defines. Found by torture test. Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/privileges_basic.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/lib/privileges_basic.c b/source3/lib/privileges_basic.c
index d174c70d8c..c970478d32 100644
--- a/source3/lib/privileges_basic.c
+++ b/source3/lib/privileges_basic.c
@@ -97,15 +97,15 @@ PRIVS privs[] = {
{SE_BATCH_LOGON, "SeBatchLogonRight", "Log on as a batch job", { 0x0, 0x0 }},
{SE_SERVICE_LOGON, "SeServiceLogonRight", "Log on as a service", { 0x0, 0x0 }},
#endif
- {SE_MACHINE_ACCOUNT, "SeMachineAccountPrivilege", "Add machines to domain", { 0x0, 0x0006 }},
- {SE_TAKE_OWNERSHIP, "SeTakeOwnershipPrivilege", "Take ownership of files or other objects",{ 0x0, 0x0009 }},
- {SE_BACKUP, "SeBackupPrivilege", "Back up files and directories", { 0x0, 0x0011 }},
- {SE_RESTORE, "SeRestorePrivilege", "Restore files and directories", { 0x0, 0x0012 }},
- {SE_REMOTE_SHUTDOWN, "SeRemoteShutdownPrivilege", "Force shutdown from a remote system", { 0x0, 0x0018 }},
-
- {SE_PRINT_OPERATOR, "SePrintOperatorPrivilege", "Manage printers", { 0x0, 0x1001 }},
- {SE_ADD_USERS, "SeAddUsersPrivilege", "Add users and groups to the domain", { 0x0, 0x1002 }},
- {SE_DISK_OPERATOR, "SeDiskOperatorPrivilege", "Manage disk shares", { 0x0, 0x1003 }},
+ {SE_MACHINE_ACCOUNT, "SeMachineAccountPrivilege", "Add machines to domain", { 0x0006, 0x0 }},
+ {SE_TAKE_OWNERSHIP, "SeTakeOwnershipPrivilege", "Take ownership of files or other objects",{ 0x0009, 0x0 }},
+ {SE_BACKUP, "SeBackupPrivilege", "Back up files and directories", { 0x0011, 0x0 }},
+ {SE_RESTORE, "SeRestorePrivilege", "Restore files and directories", { 0x0012, 0x0 }},
+ {SE_REMOTE_SHUTDOWN, "SeRemoteShutdownPrivilege", "Force shutdown from a remote system", { 0x0018, 0x0 }},
+
+ {SE_PRINT_OPERATOR, "SePrintOperatorPrivilege", "Manage printers", { 0x1001, 0x0 }},
+ {SE_ADD_USERS, "SeAddUsersPrivilege", "Add users and groups to the domain", { 0x1002, 0x0 }},
+ {SE_DISK_OPERATOR, "SeDiskOperatorPrivilege", "Manage disk shares", { 0x1003, 0x0 }},
{SE_END, "", "", { 0x0, 0x0 }}
};