summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-02 23:57:09 +0200
committerGünther Deschner <gd@samba.org>2010-06-03 11:00:25 +0200
commitb5c2af94475337b4769dc464a695ee29bc5e87c7 (patch)
tree735631192dcf23db54393979309f36b75a0db14d /source3/include
parent37b978c343b5727c7257d7a0a574ba82bb0c9c0f (diff)
downloadsamba-b5c2af94475337b4769dc464a695ee29bc5e87c7.tar.gz
samba-b5c2af94475337b4769dc464a695ee29bc5e87c7.tar.bz2
samba-b5c2af94475337b4769dc464a695ee29bc5e87c7.zip
s3-security: use shared "File Object specific access rights".
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_secdes.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h
index f3efe27d7f..97ccc9b0d1 100644
--- a/source3/include/rpc_secdes.h
+++ b/source3/include/rpc_secdes.h
@@ -51,57 +51,4 @@ struct standard_mapping {
#define STD_RIGHT_ALL_ACCESS 0x001F0000
-/* File Object specific access rights */
-
-#define SA_RIGHT_FILE_READ_DATA 0x00000001
-#define SA_RIGHT_FILE_WRITE_DATA 0x00000002
-#define SA_RIGHT_FILE_APPEND_DATA 0x00000004
-#define SA_RIGHT_FILE_READ_EA 0x00000008
-#define SA_RIGHT_FILE_WRITE_EA 0x00000010
-#define SA_RIGHT_FILE_EXECUTE 0x00000020
-#define SA_RIGHT_FILE_DELETE_CHILD 0x00000040
-#define SA_RIGHT_FILE_READ_ATTRIBUTES 0x00000080
-#define SA_RIGHT_FILE_WRITE_ATTRIBUTES 0x00000100
-
-#define SA_RIGHT_FILE_ALL_ACCESS 0x000001FF
-
-#define GENERIC_RIGHTS_FILE_ALL_ACCESS \
- (STANDARD_RIGHTS_REQUIRED_ACCESS| \
- STD_RIGHT_SYNCHRONIZE_ACCESS | \
- SA_RIGHT_FILE_ALL_ACCESS)
-
-#define GENERIC_RIGHTS_FILE_READ \
- (STANDARD_RIGHTS_READ_ACCESS | \
- STD_RIGHT_SYNCHRONIZE_ACCESS | \
- SA_RIGHT_FILE_READ_DATA | \
- SA_RIGHT_FILE_READ_ATTRIBUTES | \
- SA_RIGHT_FILE_READ_EA)
-
-#define GENERIC_RIGHTS_FILE_WRITE \
- (STANDARD_RIGHTS_WRITE_ACCESS | \
- STD_RIGHT_SYNCHRONIZE_ACCESS | \
- SA_RIGHT_FILE_WRITE_DATA | \
- SA_RIGHT_FILE_WRITE_ATTRIBUTES | \
- SA_RIGHT_FILE_WRITE_EA | \
- SA_RIGHT_FILE_APPEND_DATA)
-
-#define GENERIC_RIGHTS_FILE_EXECUTE \
- (STANDARD_RIGHTS_EXECUTE_ACCESS | \
- STD_RIGHT_SYNCHRONIZE_ACCESS | \
- SA_RIGHT_FILE_READ_ATTRIBUTES | \
- SA_RIGHT_FILE_EXECUTE)
-
-#define GENERIC_RIGHTS_FILE_MODIFY \
- (STANDARD_RIGHTS_MODIFY_ACCESS | \
- STD_RIGHT_SYNCHRONIZE_ACCESS | \
- STD_RIGHT_DELETE_ACCESS | \
- SA_RIGHT_FILE_WRITE_ATTRIBUTES | \
- SA_RIGHT_FILE_READ_ATTRIBUTES | \
- SA_RIGHT_FILE_EXECUTE | \
- SA_RIGHT_FILE_WRITE_EA | \
- SA_RIGHT_FILE_READ_EA | \
- SA_RIGHT_FILE_APPEND_DATA | \
- SA_RIGHT_FILE_WRITE_DATA | \
- SA_RIGHT_FILE_READ_DATA)
-
#endif /* _RPC_SECDES_H */