diff options
Diffstat (limited to 'install/tools/ipa-httpd-kdcproxy')
-rwxr-xr-x | install/tools/ipa-httpd-kdcproxy | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/install/tools/ipa-httpd-kdcproxy b/install/tools/ipa-httpd-kdcproxy index 5e67f61a6..c14b3a721 100755 --- a/install/tools/ipa-httpd-kdcproxy +++ b/install/tools/ipa-httpd-kdcproxy @@ -97,10 +97,8 @@ class KDCProxyConfig(object): def _find_entry(self, dn, attrs, filter, scope=IPAdmin.SCOPE_BASE): """Find an LDAP entry, handles NotFound and Limit""" try: - entries, truncated = self.con.find_entries( - filter, attrs, dn, scope, time_limit=self.time_limit) - if truncated: - raise errors.LimitsExceeded() + entries = self.con.get_entries( + dn, scope, filter, attrs, time_limit=self.time_limit) except errors.NotFound: self.log.debug('Entry not found: %s', dn) return None |