diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-10-16 13:08:22 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-10-18 17:10:58 +1100 |
commit | 9eb022c8c65663425e60a10a12c2ec52c3017a59 (patch) | |
tree | ac9de49562116ecce543befa92abdaae5f497bcc /source4/scripting/python/samba/tests/posixacl.py | |
parent | b557f34c80c9326d9aa887366501366bf3956ce1 (diff) | |
download | samba-9eb022c8c65663425e60a10a12c2ec52c3017a59.tar.gz samba-9eb022c8c65663425e60a10a12c2ec52c3017a59.tar.xz samba-9eb022c8c65663425e60a10a12c2ec52c3017a59.zip |
provision: No longer use the wheel group in new AD Domains
The issue here is that if we set S-1-5-32-544 (administrators) to a
GID only, then users cannot force a mandetory profile to be owned by
administrators (which is a requirement).
There is no particularly useful reason for us to enforce this matching
a system group.
Andrew Bartlett
Diffstat (limited to 'source4/scripting/python/samba/tests/posixacl.py')
-rw-r--r-- | source4/scripting/python/samba/tests/posixacl.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/tests/posixacl.py b/source4/scripting/python/samba/tests/posixacl.py index 066cc973730..78a07f7c946 100644 --- a/source4/scripting/python/samba/tests/posixacl.py +++ b/source4/scripting/python/samba/tests/posixacl.py @@ -147,7 +147,7 @@ class PosixAclMappingTests(TestCase): (LA_uid,LA_type) = s4_passdb.sid_to_id(LA_sid) self.assertEquals(LA_type, idmap.ID_TYPE_UID) (BA_gid,BA_type) = s4_passdb.sid_to_id(BA_sid) - self.assertEquals(BA_type, idmap.ID_TYPE_GID) + self.assertEquals(BA_type, idmap.ID_TYPE_BOTH) (SO_gid,SO_type) = s4_passdb.sid_to_id(SO_sid) self.assertEquals(SO_type, idmap.ID_TYPE_BOTH) (SY_gid,SY_type) = s4_passdb.sid_to_id(SY_sid) @@ -194,7 +194,7 @@ class PosixAclMappingTests(TestCase): # user::rwx # user:root:rwx (selftest user actually) # group::rwx -# group:wheel:rwx +# group:Local Admins:rwx # group:3000000:r-x # group:3000001:rwx # group:3000002:r-x @@ -274,7 +274,7 @@ class PosixAclMappingTests(TestCase): (LA_uid,LA_type) = s4_passdb.sid_to_id(LA_sid) self.assertEquals(LA_type, idmap.ID_TYPE_UID) (BA_gid,BA_type) = s4_passdb.sid_to_id(BA_sid) - self.assertEquals(BA_type, idmap.ID_TYPE_GID) + self.assertEquals(BA_type, idmap.ID_TYPE_BOTH) (SO_gid,SO_type) = s4_passdb.sid_to_id(SO_sid) self.assertEquals(SO_type, idmap.ID_TYPE_BOTH) (SY_gid,SY_type) = s4_passdb.sid_to_id(SY_sid) @@ -327,7 +327,7 @@ class PosixAclMappingTests(TestCase): # user::rwx # user:root:rwx (selftest user actually) # group::rwx -# group:wheel:rwx +# group:Local Admins:rwx # group:3000000:r-x # group:3000001:rwx # group:3000002:r-x |