]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli:security: Add SELF SID constant
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 11 Sep 2023 02:13:09 +0000 (14:13 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Sep 2023 02:43:28 +0000 (02:43 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/dom_sid.h
libcli/security/util_sid.c

index c5500a13dd7d9b56bbdcdb5d2a3268e47eed5dba..d01ea338e8330b28ee03be6f4d13021ab372dfa8 100644 (file)
@@ -37,6 +37,7 @@ extern const struct dom_sid global_sid_NT_Authority;
 extern const struct dom_sid global_sid_Enterprise_DCs;
 extern const struct dom_sid global_sid_System;
 extern const struct dom_sid global_sid_NULL;
+extern const struct dom_sid global_sid_Self;
 extern const struct dom_sid global_sid_Authenticated_Users;
 extern const struct dom_sid global_sid_Network;
 extern const struct dom_sid global_sid_Asserted_Identity;
index 37a532f98860ef1be9a884bf61163880885a3a80..ad19ea1a0128476be52e9c20e55b58e577cc24cf 100644 (file)
@@ -61,6 +61,9 @@ const struct dom_sid global_sid_System =                      /* System */
 /* S-1-0-0 */
 const struct dom_sid global_sid_NULL =                         /* NULL sid */
 { 1, 1, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};
+/* S-1-5-10 */
+const struct dom_sid global_sid_Self =                         /* SELF */
+{ 1, 1, {0,0,0,0,0,5}, {10,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};
 /* S-1-5-11 */
 const struct dom_sid global_sid_Authenticated_Users =  /* All authenticated rids */
 { 1, 1, {0,0,0,0,0,5}, {11,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};