From 050b80356edea52f1bbb0a27599186ad84c18b73 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 19 Mar 2002 13:57:53 +0000 Subject: second step to gain free uid<->rid mapping we still need to free gid<->rid mapping and few other stuff (This used to be commit aa4b6f8181f34196a28951264dd8b631a5deef7f) --- source3/include/rpc_misc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'source3/include/rpc_misc.h') diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 686f8e97e9..7398b8ac57 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -33,11 +33,22 @@ /* RIDs - Well-known users ... */ #define DOMAIN_USER_RID_ADMIN (0x000001F4L) #define DOMAIN_USER_RID_GUEST (0x000001F5L) +#define DOMAIN_USER_RID_KRBTGT (0x000001F6L) /* RIDs - well-known groups ... */ #define DOMAIN_GROUP_RID_ADMINS (0x00000200L) #define DOMAIN_GROUP_RID_USERS (0x00000201L) #define DOMAIN_GROUP_RID_GUESTS (0x00000202L) +#define DOMAIN_GROUP_RID_COMPUTERS (0x00000203L) + +#define DOMAIN_GROUP_RID_CONTROLLERS (0x00000204L) +#define DOMAIN_GROUP_RID_CERT_ADMINS (0x00000205L) +#define DOMAIN_GROUP_RID_SCHEMA_ADMINS (0x00000206L) +#define DOMAIN_GROUP_RID_ENTERPRISE_ADMINS (0x00000207L) + +/* is the following the right number? I bet it is --simo +#define DOMAIN_GROUP_RID_POLICY_ADMINS (0x00000208L) +*/ /* RIDs - well-known aliases ... */ #define BUILTIN_ALIAS_RID_ADMINS (0x00000220L) @@ -51,12 +62,16 @@ #define BUILTIN_ALIAS_RID_BACKUP_OPS (0x00000227L) #define BUILTIN_ALIAS_RID_REPLICATOR (0x00000228L) +#define BUILTIN_ALIAS_RID_RAS_SERVERS (0x00000229L) /* * Masks for mappings between unix uid and gid types and * NT RIDS. */ + +#define BASE_RID (0x000003E8L) + /* Take the bottom bit. */ #define RID_TYPE_MASK 1 #define RID_MULTIPLIER 2 -- cgit