summaryrefslogtreecommitdiff
path: root/libcli/security
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 /libcli/security
parent717a27ba2227764ba14c205eca276ed67e752a59 (diff)
downloadsamba-53ad886f75f189a7c865acf455398c3f3ce38111.tar.gz
samba-53ad886f75f189a7c865acf455398c3f3ce38111.tar.bz2
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 'libcli/security')
-rw-r--r--libcli/security/dom_sid.h1
-rw-r--r--libcli/security/util_sid.c2
2 files changed, 3 insertions, 0 deletions
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 */