sysvol replication between ntvfs and s3fs

Daniele Dario d.dario76 at
Thu Sep 20 00:49:27 MDT 2012

Hi Géza and Matthew,

On Wed, 2012-09-19 at 18:30 +0200, Gémes Géza wrote:
> 2012-09-19 18:05 keltezéssel, Matthieu Patou írta:
> > On 09/19/2012 07:18 AM, Daniele Dario wrote:
> >> Hi Matthiew and samba team,
> >> I'm looking if it is possible to sync sysvol partition between my two
> >> samba4 DCs and I found your "sync_dc" script.
> >>
> >> Would rsync -X -u -a work also if one DC is working with NTVFS while the
> >> other uses S3FS?
> > Yes it should work more or less you'll need also the -A to preserve 
> > unix acls as well as s3fs use them.
> >
> > Still the biggest issue that you'll face is that the uid for Windows 
> > users can be differents and so the unix acls won't be correct but 
> > there is nothing we can do in the short term.
> >
> >
> >> Sorry if the question is stupid but I've read that there are differences
> >> between the two implementations and that moving from NTVFS to S3FS
> >> requires to use the sysvolreset command to apply right ACLs.
> >>
> >> Thanks,
> >> Daniele.
> >>
> >
> > Matthieu.
> >
> Hi,
> If you have idmap_ldb:use rfc2307 = yes on both servers and nss 
> configured for winbind you should have the same uid/gid on both servers 
> you've set in the directory.
> Regards
> Geza Gemes

when I provisioned the first DC I didn't know the idmap ldb: use rfc2307
option so up to now idmap ldb:use rfc2307 = yes is not present in
primary DC neither in the secondary.

Can I enable it now without brake something?
How should I proceed to enable it?
Should I just add the statement in smb.conf and restart samba or do I
have to do something else?
Is there a order to follow having 2 DCs?
Does it matter if I have beta3 on primary DC and rc1 on secondary?


More information about the samba-technical mailing list