1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

security: move generic_mapping and standard_mapping to security.idl.

Guenther
This commit is contained in:
Günther Deschner 2010-06-03 01:27:50 +02:00
parent b5c2af9447
commit 102b0cfe62
2 changed files with 18 additions and 17 deletions

View 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;
}

View File

@ -24,23 +24,6 @@
/* 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