summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/replication.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/install/replication.py')
-rw-r--r--ipaserver/install/replication.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py
index d6931db43..8501a8c2c 100644
--- a/ipaserver/install/replication.py
+++ b/ipaserver/install/replication.py
@@ -51,6 +51,13 @@ TOTAL_EXCLUDES = ('entryusn',
# List of attributes that need to be excluded from normal replication.
EXCLUDES = ('memberof', 'idnssoaserial') + TOTAL_EXCLUDES
+# List of attributes that are not updated on empty replication
+STRIP_ATTRS = ('modifiersName',
+ 'modifyTimestamp',
+ 'internalModifiersName',
+ 'internalModifyTimestamp')
+
+
def replica_conn_check(master_host, host_name, realm, check_ca,
admin_password=None):
"""
@@ -519,6 +526,8 @@ class ReplicationManager(object):
# that we will have to set the memberof fixup task
self.need_memberof_fixup = True
+ entry.setValues('nsds5ReplicaStripAttrs', " ".join(STRIP_ATTRS))
+
entry = a_conn.waitForEntry(entry)
def needs_memberof_fixup(self):