diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-27 12:44:35 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:04 +1000 |
commit | 821b9e61aa057530212438988c204d79f1f70b1d (patch) | |
tree | dbcd8d002cffe20ea6a9325e3dad1183bb0c9cb4 /source3/include | |
parent | 99aae4a0ee4f5d069bebe998337d1cdb0c1c390a (diff) | |
download | samba-821b9e61aa057530212438988c204d79f1f70b1d.tar.gz samba-821b9e61aa057530212438988c204d79f1f70b1d.tar.bz2 samba-821b9e61aa057530212438988c204d79f1f70b1d.zip |
privs Move privilege bitmasks to security.idl
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/privileges.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/source3/include/privileges.h b/source3/include/privileges.h index ba09f57fae..ab16edfa6d 100644 --- a/source3/include/privileges.h +++ b/source3/include/privileges.h @@ -26,6 +26,7 @@ #define PRIVILEGES_H #include "../librpc/gen_ndr/lsa.h" +#include "../librpc/gen_ndr/security.h" /* privilege bitmask */ @@ -38,25 +39,6 @@ typedef uint64_t SE_PRIV; #define SE_ALL_PRIVS (SE_PRIV)-1 -/* - * We will use our own set of privileges since it makes no sense - * to implement all of the Windows set when only a portion will - * be used. Use 64-bit mask to give room to grow. - */ - -#define SE_NETWORK_LOGON 0x00000001 -#define SE_INTERACTIVE_LOGON 0x00000002 -#define SE_BATCH_LOGON 0x00000004 -#define SE_SERVICE_LOGON 0x00000008 -#define SE_MACHINE_ACCOUNT 0x00000010 -#define SE_PRINT_OPERATOR 0x00000020 -#define SE_ADD_USERS 0x00000040 -#define SE_DISK_OPERATOR 0x00000080 -#define SE_REMOTE_SHUTDOWN 0x00000100 -#define SE_BACKUP 0x00000200 -#define SE_RESTORE 0x00000400 -#define SE_TAKE_OWNERSHIP 0x00000800 - /* defined in lib/privilegs_basic.c */ extern const SE_PRIV se_priv_all; |