summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-06 06:48:54 +0000
committerTim Potter <tpot@samba.org>2000-07-06 06:48:54 +0000
commit084af3c5be2d7cd6ab68431f4f2b12113e246528 (patch)
tree0fe0f4d1329560362d266fb36b6f86f57e7b7c3d /source3/lib
parentdc7b20a47d52e8eed87a93150cb9f11384157676 (diff)
downloadsamba-084af3c5be2d7cd6ab68431f4f2b12113e246528.tar.gz
samba-084af3c5be2d7cd6ab68431f4f2b12113e246528.tar.bz2
samba-084af3c5be2d7cd6ab68431f4f2b12113e246528.zip
Added global_sid_NULL S-1-0-0 to list of global sids.
(This used to be commit f49905e74c6e3891b5816b136fd1d0d77c392e2f)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index 43fd7ecc59..42fdfb15fe 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -39,6 +39,7 @@ DOM_SID global_sid_World; /* everyone */
DOM_SID global_sid_Creator_Owner_Domain; /* Creator Owner */
DOM_SID global_sid_Creator_Owner; /* Creator Owner */
DOM_SID global_sid_NT_Authority; /* NT Authority */
+DOM_SID global_sid_NULL; /* NULL sid */
const DOM_SID *global_sid_everyone = &global_sid_World;
@@ -93,6 +94,7 @@ void generate_wellknown_sids(void)
string_to_sid(&global_sid_Creator_Owner_Domain, "S-1-3");
string_to_sid(&global_sid_Creator_Owner, "S-1-3-0");
string_to_sid(&global_sid_NT_Authority, "S-1-5");
+ string_to_sid(&global_sid_NULL, "S-1-0-0");
}
/**************************************************************************