From 9a368b6358e77607214a33bedd3f906641bea4e4 Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Thu, 24 Oct 2013 20:36:30 +0200 Subject: Make sure nsds5ReplicaStripAttrs is set on agreements Add nsds5ReplicaStripAttrs to the agreement LDAP entry before the agreement is created. https://fedorahosted.org/freeipa/ticket/3989 --- ipaserver/install/replication.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ipaserver/install/replication.py') diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index 6269ba686..4d8a4687e 100644 --- a/ipaserver/install/replication.py +++ b/ipaserver/install/replication.py @@ -627,6 +627,7 @@ class ReplicationManager(object): if iswinsync: self.setup_winsync_agmt(entry, win_subtree) + entry['nsds5ReplicaStripAttrs'] = [" ".join(STRIP_ATTRS)] a_conn.add_entry(entry) try: @@ -639,8 +640,6 @@ class ReplicationManager(object): # that we will have to set the memberof fixup task self.need_memberof_fixup = True - entry['nsds5ReplicaStripAttrs'] = [" ".join(STRIP_ATTRS)] - wait_for_entry(a_conn, entry) def needs_memberof_fixup(self): -- cgit