summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/install/service.py')
-rw-r--r--ipaserver/install/service.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipaserver/install/service.py b/ipaserver/install/service.py
index dde36a829..f15646af0 100644
--- a/ipaserver/install/service.py
+++ b/ipaserver/install/service.py
@@ -202,7 +202,7 @@ class Service(object):
entry["objectclass"] = list(set(classes))
entry["ipauniqueid"] = ['autogenerate']
entry["managedby"] = [hostdn]
- self.admin_conn.addEntry(entry)
+ self.admin_conn.add_entry(entry)
return newdn
def add_simple_service(self, principal):
@@ -225,7 +225,7 @@ class Service(object):
ipauniqueid=['autogenerate'],
managedby=[hostdn],
)
- self.admin_conn.addEntry(entry)
+ self.admin_conn.add_entry(entry)
return dn
def add_cert_to_service(self):
@@ -386,7 +386,7 @@ class Service(object):
)
try:
- self.admin_conn.addEntry(entry)
+ self.admin_conn.add_entry(entry)
except (ldap.ALREADY_EXISTS, errors.DuplicateEntry), e:
root_logger.debug("failed to add %s Service startup entry" % name)
raise e