security: move generic_mapping and standard_mapping to security.idl.
authorGünther Deschner <gd@samba.org>
Wed, 2 Jun 2010 23:27:50 +0000 (01:27 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 3 Jun 2010 09:00:26 +0000 (11:00 +0200)
Guenther

librpc/idl/security.idl
source3/include/rpc_secdes.h

index fb1dc0dcc045f8c8c16b7a82b2997385655fea38..7f9e7dbb4e4afab75f837ded64fc1b44837b26d7 100644 (file)
@@ -519,4 +519,22 @@ interface security
        const string GUID_DRS_MONITOR_TOPOLOGY        = "f98340fb-7c5b-4cdb-a00b-2ebdfa115a96";
        const string GUID_DRS_REPL_SYNCRONIZE         = "1131f6ab-9c07-11d1-f79f-00c04fc2dcd2";
        const string GUID_DRS_RO_REPL_SECRET_SYNC     = "1131f6ae-9c07-11d1-f79f-00c04fc2dcd2";
+
+
+       /* A type to describe the mapping of generic access rights to object
+          specific access rights. */
+
+       typedef struct {
+               uint32 generic_read;
+               uint32 generic_write;
+               uint32 generic_execute;
+               uint32 generic_all;
+       } generic_mapping;
+
+       typedef struct {
+               uint32 std_read;
+               uint32 std_write;
+               uint32 std_execute;
+               uint32 std_all;
+       } standard_mapping;
 }
index 97ccc9b0d1e37f7eace00a2c249597af2e3680db..216f8830eb5d7817dfd9296ef08b4f23cb2949b1 100644 (file)
 /* for ADS */
 #define SEC_RIGHTS_FULL_CTRL           0xf01ff
 
-/* A type to describe the mapping of generic access rights to object
-   specific access rights. */
-
-struct generic_mapping {
-       uint32 generic_read;
-       uint32 generic_write;
-       uint32 generic_execute;
-       uint32 generic_all;
-};
-
-struct standard_mapping {
-       uint32 std_read;
-       uint32 std_write;
-       uint32 std_execute;
-       uint32 std_all;
-};
-
 /* Standard access rights. */
 
 #define STD_RIGHT_DELETE_ACCESS                0x00010000