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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/service.py b/ipaserver/install/service.py
index 39771887..cc5bb877 100644
--- a/ipaserver/install/service.py
+++ b/ipaserver/install/service.py
@@ -188,7 +188,7 @@ class Service(object):
dn = DN(('krbprincipalname', principal), ('cn', self.realm), ('cn', 'kerberos'), self.suffix)
try:
- entry = self.admin_conn.getEntry(dn, ldap.SCOPE_BASE)
+ entry = self.admin_conn.get_entry(dn)
except errors.NotFound:
# There is no service in the wrong location, nothing to do.
# This can happen when installing a replica