summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-15 01:11:40 +0000
committerTim Potter <tpot@samba.org>2002-04-15 01:11:40 +0000
commit4a5225bf6472347dda6eb7520e76a9a18f0e9f19 (patch)
tree63f8c8b5e53355919017914747ebc3872306294f
parent9aabbc564f3d8b9080b9047665a7212c29e9c1f0 (diff)
downloadsamba-4a5225bf6472347dda6eb7520e76a9a18f0e9f19.tar.gz
samba-4a5225bf6472347dda6eb7520e76a9a18f0e9f19.tar.bz2
samba-4a5225bf6472347dda6eb7520e76a9a18f0e9f19.zip
Added hex values as comments for the standard access rights.
(This used to be commit 00511ae2b4bc0ef3bfda89cc0ae3e1fba092b6d6)
-rw-r--r--source3/include/smb.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 52b475ff27..6d3ce04400 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1058,11 +1058,11 @@ struct bitmap {
#define SYNCHRONIZE_ACCESS (1L<<20) /* 0x00100000 */
/* Combinations of standard masks. */
-#define STANDARD_RIGHTS_ALL_ACCESS (DELETE_ACCESS|READ_CONTROL_ACCESS|WRITE_DAC_ACCESS|WRITE_OWNER_ACCESS|SYNCHRONIZE_ACCESS)
-#define STANDARD_RIGHTS_EXECUTE_ACCESS (READ_CONTROL_ACCESS)
-#define STANDARD_RIGHTS_READ_ACCESS (READ_CONTROL_ACCESS)
-#define STANDARD_RIGHTS_REQUIRED_ACCESS (DELETE_ACCESS|READ_CONTROL_ACCESS|WRITE_DAC_ACCESS|WRITE_OWNER_ACCESS)
-#define STANDARD_RIGHTS_WRITE_ACCESS (READ_CONTROL_ACCESS)
+#define STANDARD_RIGHTS_ALL_ACCESS (DELETE_ACCESS|READ_CONTROL_ACCESS|WRITE_DAC_ACCESS|WRITE_OWNER_ACCESS|SYNCHRONIZE_ACCESS) /* 0x001f0000 */
+#define STANDARD_RIGHTS_EXECUTE_ACCESS (READ_CONTROL_ACCESS) /* 0x00020000 */
+#define STANDARD_RIGHTS_READ_ACCESS (READ_CONTROL_ACCESS) /* 0x00200000 */
+#define STANDARD_RIGHTS_REQUIRED_ACCESS (DELETE_ACCESS|READ_CONTROL_ACCESS|WRITE_DAC_ACCESS|WRITE_OWNER_ACCESS) /* 0x000f0000 */
+#define STANDARD_RIGHTS_WRITE_ACCESS (READ_CONTROL_ACCESS) /* 0x00020000 */
#define SYSTEM_SECURITY_ACCESS (1L<<24) /* 0x01000000 */
#define MAXIMUM_ALLOWED_ACCESS (1L<<25) /* 0x02000000 */