tests/posixacl.py
authorStefan Metzmacher <metze@samba.org>
Sat, 1 Dec 2012 14:59:18 +0000 (15:59 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 10:31:19 +0000 (11:31 +0100)
python/samba/tests/posixacl.py

index a758df9b19ebab0ee0e9017473be3afe26beec60..7eaecbcfbfdf7a8c1439a980e5388937547927d3 100644 (file)
@@ -309,7 +309,7 @@ class PosixAclMappingTests(TestCaseInTempDir):
         self.assertEquals(posix_acl.acl[4].a_perm, 7)
 
     def test_setntacl_sysvol_check_getposixacl(self):
-        acl = provision.SYSVOL_ACL
+        acl = provision.SYSVOL_SUBFOLDER_SD
         domsid = passdb.get_global_sam_sid()
         session_info = self.get_session_info(domsid)
         setntacl(self.lp, self.tempf, acl, str(domsid), use_ntvfs=False,
@@ -452,7 +452,7 @@ class PosixAclMappingTests(TestCaseInTempDir):
         # gid: -1
 
     def test_setntacl_sysvol_dir_check_getposixacl(self):
-        acl = provision.SYSVOL_ACL
+        acl = provision.SYSVOL_SUBFOLDER_SD
         domsid = passdb.get_global_sam_sid()
         session_info = self.get_session_info(domsid)
         setntacl(self.lp, self.tempdir, acl, str(domsid), use_ntvfs=False,
@@ -545,7 +545,7 @@ class PosixAclMappingTests(TestCaseInTempDir):
         # other::---
 
     def test_setntacl_policies_dir_check_getposixacl(self):
-        acl = provision.POLICIES_ACL
+        acl = provision.POLICIES_FOLDER_SD
         domsid = passdb.get_global_sam_sid()
         session_info = self.get_session_info(domsid)
         setntacl(self.lp, self.tempdir, acl, str(domsid), use_ntvfs=False,
@@ -650,7 +650,7 @@ class PosixAclMappingTests(TestCaseInTempDir):
         # other::---
 
     def test_setntacl_policies_check_getposixacl(self):
-        acl = provision.POLICIES_ACL
+        acl = provision.POLICIES_FOLDER_SD
 
         domsid = passdb.get_global_sam_sid()
         session_info = self.get_session_info(domsid)