summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-10-24 20:36:30 +0200
committerMartin Kosek <mkosek@redhat.com>2013-10-25 14:58:39 +0200
commit9a368b6358e77607214a33bedd3f906641bea4e4 (patch)
tree28cdaf56833af4da90ee511f3bf530c1c57eb70d /ipaserver
parentc518a80ab7faa8cbb399e3ed32c213ad518d997c (diff)
downloadfreeipa-9a368b6358e77607214a33bedd3f906641bea4e4.tar.gz
freeipa-9a368b6358e77607214a33bedd3f906641bea4e4.tar.xz
freeipa-9a368b6358e77607214a33bedd3f906641bea4e4.zip
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
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/replication.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py
index 6269ba68..4d8a4687 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):