Univention Bugzilla – Attachment 6053 Details for
Bug 35564
sysvol replication fails on slave after ad takeover from member mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
net_cache_flush_before_sysvolreset.patch
net_cache_flush_before_sysvolreset.patch (text/plain), 992 bytes, created by
Arvid Requate
on 2014-08-04 19:45:55 CEST
(
hide
)
Description:
net_cache_flush_before_sysvolreset.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2014-08-04 19:45:55 CEST
Size:
992 bytes
patch
obsolete
>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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35564
:
6048
|
6049
|
6050
|
6051
|
6052
| 6053