* sec_auth.cc (get_user_local_groups): Retrieve name of well known
builtin group from system. Explain why. * sec_helper.cc (well_known_builtin_sid): New SID for BUILTIN group. * security.h (well_known_builtin_sid): Declare.
This commit is contained in:
@ -57,6 +57,8 @@ MKSID (well_known_this_org_sid, "S-1-5-15",
|
||||
SECURITY_NT_AUTHORITY, 1, 15);
|
||||
MKSID (well_known_system_sid, "S-1-5-18",
|
||||
SECURITY_NT_AUTHORITY, 1, SECURITY_LOCAL_SYSTEM_RID);
|
||||
MKSID (well_known_builtin_sid, "S-1-5-32",
|
||||
SECURITY_NT_AUTHORITY, 1, SECURITY_BUILTIN_DOMAIN_RID);
|
||||
MKSID (well_known_admins_sid, "S-1-5-32-544",
|
||||
SECURITY_NT_AUTHORITY, 2, SECURITY_BUILTIN_DOMAIN_RID,
|
||||
DOMAIN_ALIAS_RID_ADMINS);
|
||||
|
Reference in New Issue
Block a user