[Samba] Keeping idmap in sync cross DC
- Date: Wed, 22 Nov 2017 16:01:17 +0200
- From: Ian Coetzee via samba <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] Keeping idmap in sync cross DC
I have run into a very interesting problem using GPO's on our DC's.
As you may (or may not) know, we have migrated to a pure Samba4 (Git stable
branch checkout) AD network. I can't be happier. *Kudos to the Samba team*
We are running to DC's, DC1 and DC2, both full fledged DC's, both running
CentOS 6.9, fully up to date.
For the sysvol partition I decided to run a glusterfs between the DC's. I
started out with a unison sync, but being the impatient person I am, I
needed more real time.
Now my problem is with the permissions in the sysvol folder structure.
if I run a samba-tool ntacl sysvolreset on the one dc. The idmapping on the
other dc goes all screwie on me.
I copied the idmap.tdb.bak from dc1 to dc2 and restarted samba on dc2, but
a getfacl on the sysvol directory gives me the wrong mappings.
Is there a way to keep the idmappings in sync across the DC's, or maybe I
can move to rid backend (is that even a possibility)?
Sanitized smb.conf's at the following links
Appreciate any advise
To unsubscribe from this list go to the following URL and read the