summaryrefslogtreecommitdiff
path: root/source4/libcli/security
diff options
context:
space:
mode:
authorAndrew Kroeger <andrew@id10ts.net>2009-05-28 20:18:33 -0500
committerAndrew Bartlett <abartlet@samba.org>2009-05-29 12:37:26 +1000
commit554923ce1b1a3ab3a05bed14c0a2795e0c13febd (patch)
tree1d4ddc11eef1360273e4b934c7aee342fa2626c4 /source4/libcli/security
parentc9b6e9fd038e1fe42c30d27939893c12ecee5776 (diff)
downloadsamba-554923ce1b1a3ab3a05bed14c0a2795e0c13febd.tar.gz
samba-554923ce1b1a3ab3a05bed14c0a2795e0c13febd.tar.bz2
samba-554923ce1b1a3ab3a05bed14c0a2795e0c13febd.zip
s4: Add additional 2-letter SID/RID mappings.
Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx
Diffstat (limited to 'source4/libcli/security')
-rw-r--r--source4/libcli/security/sddl.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/source4/libcli/security/sddl.c b/source4/libcli/security/sddl.c
index a8d893f085..39bdf047ac 100644
--- a/source4/libcli/security/sddl.c
+++ b/source4/libcli/security/sddl.c
@@ -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 },
};
/*