From 53ad886f75f189a7c865acf455398c3f3ce38111 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 1 Sep 2011 16:09:01 +0200 Subject: security: add local authority well-known SIDs add the S-1-2 well-known SID family Autobuild-User: Christian Ambach Autobuild-Date: Thu Nov 24 19:01:08 CET 2011 on sn-devel-104 --- libcli/security/dom_sid.h | 1 + libcli/security/util_sid.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'libcli/security') diff --git a/libcli/security/dom_sid.h b/libcli/security/dom_sid.h index 5886ce31c6..df57bd1d9e 100644 --- a/libcli/security/dom_sid.h +++ b/libcli/security/dom_sid.h @@ -28,6 +28,7 @@ /* Some well-known SIDs */ extern const struct dom_sid global_sid_World_Domain; extern const struct dom_sid global_sid_World; +extern const struct dom_sid global_sid_Local_Authority; extern const struct dom_sid global_sid_Creator_Owner_Domain; extern const struct dom_sid global_sid_NT_Authority; extern const struct dom_sid global_sid_Enterprise_DCs; diff --git a/libcli/security/util_sid.c b/libcli/security/util_sid.c index 84ac0f1dbc..f87d3ebe79 100644 --- a/libcli/security/util_sid.c +++ b/libcli/security/util_sid.c @@ -38,6 +38,8 @@ const struct dom_sid global_sid_World_Domain = /* Everyone domain { 1, 0, {0,0,0,0,0,1}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}; const struct dom_sid global_sid_World = /* Everyone */ { 1, 1, {0,0,0,0,0,1}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}; +const struct dom_sid global_sid_Local_Authority = /* Local Authority */ +{ 1, 0, {0,0,0,0,0,2}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}; const struct dom_sid global_sid_Creator_Owner_Domain = /* Creator Owner domain */ { 1, 0, {0,0,0,0,0,3}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}; const struct dom_sid global_sid_NT_Authority = /* NT Authority */ -- cgit