1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4: Add additional 2-letter SID/RID mappings.

Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx
This commit is contained in:
Andrew Kroeger 2009-05-28 20:18:33 -05:00 committed by Andrew Bartlett
parent c9b6e9fd03
commit 554923ce1b

View File

@ -80,11 +80,34 @@ static const struct {
{ "CO", SID_CREATOR_OWNER },
{ "CG", SID_CREATOR_GROUP },
{ "AN", SID_NT_ANONYMOUS },
{ "BG", SID_BUILTIN_GUESTS },
{ "BO", SID_BUILTIN_BACKUP_OPERATORS },
{ "BU", SID_BUILTIN_USERS },
{ "IU", SID_NT_INTERACTIVE },
{ "LS", SID_NT_LOCAL_SERVICE },
{ "NO", SID_BUILTIN_NETWORK_CONF_OPERATORS },
{ "NS", SID_NT_NETWORK_SERVICE },
{ "NU", SID_NT_NETWORK },
{ "PU", SID_BUILTIN_POWER_USERS },
{ "RC", SID_NT_RESTRICTED },
{ "RD", SID_BUILTIN_REMOTE_DESKTOP_USERS },
{ "RE", SID_BUILTIN_REPLICATOR },
{ "SO", SID_BUILTIN_ACCOUNT_OPERATORS },
{ "SU", SID_NT_SERVICE },
{ "DA", NULL, DOMAIN_RID_ADMINS },
{ "EA", NULL, DOMAIN_RID_ENTERPRISE_ADMINS },
{ "DD", NULL, DOMAIN_RID_DCS },
{ "DU", NULL, DOMAIN_RID_USERS },
{ "CA", NULL, DOMAIN_RID_CERT_ADMINS },
{ "DC", NULL, DOMAIN_RID_DOMAIN_MEMBERS },
{ "DG", NULL, DOMAIN_RID_GUESTS },
{ "LA", NULL, DOMAIN_RID_ADMINISTRATOR },
{ "LG", NULL, DOMAIN_RID_GUEST },
{ "PA", NULL, DOMAIN_RID_POLICY_ADMINS },
{ "SA", NULL, DOMAIN_RID_SCHEMA_ADMINS },
};
/*