[PATCH] "Creator Group" SID

ZINKEVICIUS,MATT (HP-Loveland,ex1) matt_zinkevicius at hp.com
Mon Aug 6 10:47:12 GMT 2001


A small obvious patch that adds "Creator Group" that doesn't really effect
samba as is, but the ACL database patch uses this during inheritance
computation to be able to map generic SIDS to specific ones. Thought you
guys might want it for completeness.

--- samba-2.2.1-orig/source/lib/util_sid.c	Thu May 10 15:47:28 2001
+++ samba-2.2.1-acldb/source/lib/util_sid.c	Sun Aug  5 08:28:50 2001
@@ -38,6 +38,7 @@
 DOM_SID global_sid_World;    				/* Everyone */
 DOM_SID global_sid_Creator_Owner_Domain;    /* Creator Owner domain */
 DOM_SID global_sid_Creator_Owner;    		/* Creator Owner */
+DOM_SID global_sid_Creator_Group;    		/* Creator Group */
 DOM_SID global_sid_NT_Authority;    		/* NT Authority */
 DOM_SID global_sid_NULL;            		/* NULL sid */
 DOM_SID global_sid_Builtin_Guests;			/* Builtin guest
users */
@@ -61,6 +62,7 @@
 
 static known_sid_users creator_owner_users[] = {
 	{ 0, SID_NAME_ALIAS, "Creator Owner" },
+	{ 1, SID_NAME_ALIAS, "Creator Group" },
 	{0, (enum SID_NAME_USE)0, NULL}};
 
 static known_sid_users nt_authority_users[] = {
@@ -179,6 +181,7 @@
 	string_to_sid(&global_sid_World, "S-1-1-0");
 	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_Creator_Group, "S-1-3-1");
 	string_to_sid(&global_sid_NT_Authority, "S-1-5");
 	string_to_sid(&global_sid_NULL, "S-1-0-0");
 	string_to_sid(&global_sid_Authenticated_Users, "S-1-5-11");
 

Matt Zinkevicius
Modular Network Storage
Hewlett-Packard





More information about the samba-technical mailing list