[Samba] Bi-direction sysvol script DC2 folder not sync

L.P.H. van Belle belle at bazuin.nl
Thu Feb 19 02:20:09 MST 2015

Hello Min Wai, 
I didnt know exactly what you main. 
but i did find an other error in the script. 
if someone can change on the wiki : 
...Setup SysVol on DC2  ...  
ssh DC2 "cp -R --preserve=all /var/lib/samba/sysvol /var/lib/samba/sysvol" 
ssh DC2 "cp -R --preserve=all /var/lib/samba/sysvol /var/lib/samba/"  
This could also solve the folder sync problem. 
Why DC2 Folder is not sync to DC1  
Havent tested this yet, im bit short on time, i hope next week. 

Van: Min Wai Chan [mailto:dcmwai at gmail.com] 
Verzonden: dinsdag 17 februari 2015 10:49
Aan: L.P.H. van Belle; samba at lists.samba.org
Onderwerp: Bi-direction sysvol script DC2 folder not sync

Dear Louis, 

I think I found something interesting on the script...

Let say we removed the "--delete-after" which caused DC2 folder to be removed on the next sync...

It seem that the location of the folder are part of the cause.

If it is the 3rd or above... on the folder we sync...


If the files was on the same level as AD.DOMAIN or Policies it will be see and sync..
but not on the 3rd level...

When I read the log (with -vv) 

I can only see the [sender] but no [generator] during these case (DC2 files is not sync)

Hope this help...

Min Wai

More information about the samba mailing list