View | Details | Raw Unified | Return to bug 35564
Collapse All | Expand All

(-)umc/python/adtakeover/takeover.py (+2 lines)
 Lines 1350-1355    Link Here 
1350
		## Re-Set NTACLs from nTSecurityDescriptor on sysvol policy directories
1350
		## Re-Set NTACLs from nTSecurityDescriptor on sysvol policy directories
1351
		## This is necessary as 96univention-samba4.inst hasn't run yet at this point in AD Member mode
1351
		## This is necessary as 96univention-samba4.inst hasn't run yet at this point in AD Member mode
1352
		## It's required for robocopy access
1352
		## It's required for robocopy access
1353
		subprocess.call(["net", "cache", "flush"], stdout=DEVNULL, stderr=DEVNULL)
1353
		subprocess.call(["samba-tool", "ntacl", "sysvolreset"], stdout=DEVNULL, stderr=DEVNULL)
1354
		subprocess.call(["samba-tool", "ntacl", "sysvolreset"], stdout=DEVNULL, stderr=DEVNULL)
1354
1355
1355
1356
 Lines 1473-1478    Link Here 
1473
			log.debug(stderr)
1474
			log.debug(stderr)
1474
1475
1475
		## Re-Set NTACLs from nTSecurityDescriptor on sysvol policy directories
1476
		## Re-Set NTACLs from nTSecurityDescriptor on sysvol policy directories
1477
		subprocess.call(["net", "cache", "flush"], stdout=DEVNULL, stderr=DEVNULL)
1476
		run_and_output_to_log(["samba-tool", "ntacl", "sysvolreset"], log.debug)
1478
		run_and_output_to_log(["samba-tool", "ntacl", "sysvolreset"], log.debug)
1477
1479
1478
		## Re-set default fACLs so sysvol-sync can read files and directories (See Bug#29065)
1480
		## Re-set default fACLs so sysvol-sync can read files and directories (See Bug#29065)

Return to bug 35564