summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-09-01 16:09:01 +0200
committerChristian Ambach <ambi@samba.org>2011-11-24 19:01:08 +0100
commit53ad886f75f189a7c865acf455398c3f3ce38111 (patch)
treee76e7b15fbff10b794174cda230352f5d9ca77e8 /source3
parent717a27ba2227764ba14c205eca276ed67e752a59 (diff)
downloadsamba-53ad886f75f189a7c865acf455398c3f3ce38111.tar.gz
samba-53ad886f75f189a7c865acf455398c3f3ce38111.tar.xz
samba-53ad886f75f189a7c865acf455398c3f3ce38111.zip
security: add local authority well-known SIDs
add the S-1-2 well-known SID family Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Nov 24 19:01:08 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_wellknown.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/util_wellknown.c b/source3/lib/util_wellknown.c
index 19ac7cee348..f3c0f17a2a6 100644
--- a/source3/lib/util_wellknown.c
+++ b/source3/lib/util_wellknown.c
@@ -39,6 +39,11 @@ static const struct rid_name_map everyone_users[] = {
{ 0, "Everyone" },
{ 0, NULL}};
+static const struct rid_name_map local_authority_users[] = {
+ { 0, "Local" },
+ { 1, "Console Logon" },
+ { 0, NULL}};
+
static const struct rid_name_map creator_owner_users[] = {
{ 0, "Creator Owner" },
{ 1, "Creator Group" },
@@ -70,6 +75,7 @@ static const struct rid_name_map nt_authority_users[] = {
static struct sid_name_map_info special_domains[] = {
{ &global_sid_World_Domain, "", everyone_users },
+ { &global_sid_Local_Authority, "", local_authority_users },
{ &global_sid_Creator_Owner_Domain, "", creator_owner_users },
{ &global_sid_NT_Authority, "NT Authority", nt_authority_users },
{ NULL, NULL, NULL }};