summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ldapupdate.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/install/ldapupdate.py')
-rw-r--r--ipaserver/install/ldapupdate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py
index 575f22421..91d3d83cf 100644
--- a/ipaserver/install/ldapupdate.py
+++ b/ipaserver/install/ldapupdate.py
@@ -344,7 +344,7 @@ class LDAPUpdate:
root_logger.debug("Task id: %s", dn)
if self.live_run:
- self.conn.addEntry(e.dn, e.toTupleList())
+ self.conn.addEntry(e)
return dn
@@ -644,7 +644,7 @@ class LDAPUpdate:
# addifexist may result in an entry with only a
# dn defined. In that case there is nothing to do.
# It means the entry doesn't exist, so skip it.
- self.conn.addEntry(entry.dn, entry.toTupleList())
+ self.conn.addEntry(entry)
self.modified = True
except Exception, e:
root_logger.error("Add failure %s", e)