diff options
-rw-r--r-- | source3/include/sids.h | 1 | ||||
-rw-r--r-- | source3/lib/util_sid.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/sids.h b/source3/include/sids.h index faf311937a..86aa58b621 100644 --- a/source3/include/sids.h +++ b/source3/include/sids.h @@ -31,6 +31,7 @@ extern DOM_SID global_member_sid; extern DOM_SID global_sid_S_1_5_32; /* local well-known domain */ extern DOM_SID global_sid_S_1_1; /* Global Domain */ +extern DOM_SID global_sid_NULL; extern const DOM_SID *global_sid_everyone; extern const DOM_SID *global_sid_system; /* SYSTEM */ 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"); } /************************************************************************** |