From b6a2cea74d90499bd3e239ab696502ae8afed30e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 3 Jun 2010 10:36:05 +0200 Subject: s3-security: use shared "Standard access rights.". Guenther --- source3/include/rpc_secdes.h | 10 ---------- source3/include/smb.h | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'source3/include') diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h index 216f8830eb..d14a95b17b 100644 --- a/source3/include/rpc_secdes.h +++ b/source3/include/rpc_secdes.h @@ -24,14 +24,4 @@ /* for ADS */ #define SEC_RIGHTS_FULL_CTRL 0xf01ff -/* Standard access rights. */ - -#define STD_RIGHT_DELETE_ACCESS 0x00010000 -#define STD_RIGHT_READ_CONTROL_ACCESS 0x00020000 -#define STD_RIGHT_WRITE_DAC_ACCESS 0x00040000 -#define STD_RIGHT_WRITE_OWNER_ACCESS 0x00080000 -#define STD_RIGHT_SYNCHRONIZE_ACCESS 0x00100000 - -#define STD_RIGHT_ALL_ACCESS 0x001F0000 - #endif /* _RPC_SECDES_H */ diff --git a/source3/include/smb.h b/source3/include/smb.h index 89b3572d67..ce8022ab21 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1234,7 +1234,7 @@ struct bitmap { SYNCHRONIZE_ACCESS) /* This maps to 0x120116 */ -#define FILE_GENERIC_WRITE (STD_RIGHT_READ_CONTROL_ACCESS|\ +#define FILE_GENERIC_WRITE (SEC_STD_READ_CONTROL|\ FILE_WRITE_DATA|\ FILE_WRITE_ATTRIBUTES|\ FILE_WRITE_EA|\ -- cgit