summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/plugins/fix_replica_agreements.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/install/plugins/fix_replica_agreements.py')
-rw-r--r--ipaserver/install/plugins/fix_replica_agreements.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/plugins/fix_replica_agreements.py b/ipaserver/install/plugins/fix_replica_agreements.py
index bfd6356bf..a5ff4819f 100644
--- a/ipaserver/install/plugins/fix_replica_agreements.py
+++ b/ipaserver/install/plugins/fix_replica_agreements.py
@@ -89,7 +89,7 @@ class update_replica_attribute_lists(PreUpdate):
replica[attribute] = [template % " ".join(values)]
try:
- repl.conn.update_entry(replica.dn, replica)
+ repl.conn.update_entry(replica)
self.log.debug("Updated")
except Exception, e:
self.log.error("Error caught updating replica: %s", str(e))
@@ -107,7 +107,7 @@ class update_replica_attribute_lists(PreUpdate):
'%s %s' % (attrlist, ' '.join(missing))]
try:
- repl.conn.update_entry(replica.dn, replica)
+ repl.conn.update_entry(replica)
self.log.debug("Updated %s", attribute)
except Exception, e:
self.log.error("Error caught updating %s: %s",