diff options
author | Günther Deschner <gd@samba.org> | 2008-10-24 01:58:05 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-31 21:14:27 +0100 |
commit | 12d2bfdb867a9500fd25f1c7557564ad0368c720 (patch) | |
tree | 5be477e4180562ec34a41effbdff3555acc0a2b6 /librpc | |
parent | 66993ab03aeaf2590d5387f9d0ef95e92b6f82a8 (diff) | |
download | samba-12d2bfdb867a9500fd25f1c7557564ad0368c720.tar.gz samba-12d2bfdb867a9500fd25f1c7557564ad0368c720.tar.bz2 samba-12d2bfdb867a9500fd25f1c7557564ad0368c720.zip |
security-idl: add STANDARD_RIGHTS_X bits.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/security.idl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/librpc/idl/security.idl b/librpc/idl/security.idl index 6704e300a5..a313a2ccee 100644 --- a/librpc/idl/security.idl +++ b/librpc/idl/security.idl @@ -136,6 +136,20 @@ interface security const int SEC_RIGHTS_DIR_EXECUTE = SEC_RIGHTS_FILE_EXECUTE; const int SEC_RIGHTS_DIR_ALL = SEC_RIGHTS_FILE_ALL; + /* combinations of standard masks. */ + const int STANDARD_RIGHTS_ALL_ACCESS = SEC_STD_ALL; /* 0x001f0000 */ + const int STANDARD_RIGHTS_MODIFY_ACCESS = SEC_STD_READ_CONTROLS; /* 0x00020000 */ + const int STANDARD_RIGHTS_EXECUTE_ACCESS = SEC_STD_READ_CONTROLS; /* 0x00020000 */ + const int STANDARD_RIGHTS_READ_ACCESS = SEC_STD_READ_CONTROLS; /* 0x00020000 */ + const int STANDARD_RIGHTS_WRITE_ACCESS = + (SEC_STD_WRITE_OWNER | + SEC_STD_WRITE_DAC | + SEC_STD_DELETE); /* 0x000d0000 */ + const int STANDARD_RIGHTS_REQUIRED_ACCESS = + (SEC_STD_DELETE | + SEC_STD_READ_CONTROL | + SEC_STD_WRITE_DAC | + SEC_STD_WRITE_OWNER); /* 0x000f0000 */ /***************************************************************/ /* WELL KNOWN SIDS */ |