From 5cf3b0bba4b45096390fb4bcfb3ad07704d56880 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 2 Jun 2010 23:45:14 +0200 Subject: s3-security: move ALL_SECURITY_INFORMATION to the only user. Guenther --- source3/include/rpc_secdes.h | 7 ------- source3/lib/secdesc.c | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source3') diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h index a0bc32ca72..16791e072c 100644 --- a/source3/include/rpc_secdes.h +++ b/source3/include/rpc_secdes.h @@ -24,13 +24,6 @@ /* for ADS */ #define SEC_RIGHTS_FULL_CTRL 0xf01ff -#define ALL_SECURITY_INFORMATION (SECINFO_OWNER|SECINFO_GROUP|\ - SECINFO_DACL|SECINFO_SACL|\ - SECINFO_UNPROTECTED_SACL|\ - SECINFO_UNPROTECTED_DACL|\ - SECINFO_PROTECTED_SACL|\ - SECINFO_PROTECTED_DACL) - /* A type to describe the mapping of generic access rights to object specific access rights. */ diff --git a/source3/lib/secdesc.c b/source3/lib/secdesc.c index 8cabe0b5f5..b9ed955dee 100644 --- a/source3/lib/secdesc.c +++ b/source3/lib/secdesc.c @@ -23,6 +23,13 @@ #include "includes.h" #include "../librpc/gen_ndr/ndr_security.h" +#define ALL_SECURITY_INFORMATION (SECINFO_OWNER|SECINFO_GROUP|\ + SECINFO_DACL|SECINFO_SACL|\ + SECINFO_UNPROTECTED_SACL|\ + SECINFO_UNPROTECTED_DACL|\ + SECINFO_PROTECTED_SACL|\ + SECINFO_PROTECTED_DACL) + /* Map generic permissions to file object specific permissions */ const struct generic_mapping file_generic_mapping = { -- cgit