Index: umc/python/adtakeover/takeover.py =================================================================== --- umc/python/adtakeover/takeover.py (Revision 52517) +++ umc/python/adtakeover/takeover.py (Arbeitskopie) @@ -1350,6 +1350,7 @@ ## Re-Set NTACLs from nTSecurityDescriptor on sysvol policy directories ## This is necessary as 96univention-samba4.inst hasn't run yet at this point in AD Member mode ## It's required for robocopy access + subprocess.call(["net", "cache", "flush"], stdout=DEVNULL, stderr=DEVNULL) subprocess.call(["samba-tool", "ntacl", "sysvolreset"], stdout=DEVNULL, stderr=DEVNULL) @@ -1473,6 +1474,7 @@ log.debug(stderr) ## Re-Set NTACLs from nTSecurityDescriptor on sysvol policy directories + subprocess.call(["net", "cache", "flush"], stdout=DEVNULL, stderr=DEVNULL) run_and_output_to_log(["samba-tool", "ntacl", "sysvolreset"], log.debug) ## Re-set default fACLs so sysvol-sync can read files and directories (See Bug#29065)