diff options
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r-- | ipaserver/plugins/ldap2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index abeb522f7..ca11efd5e 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -183,8 +183,8 @@ class ldap2(CrudBackend, LDAPClient): """Get configured global limits, caching them for more calls""" if not _lims: config = self.get_ipa_config() - _lims['time'] = config.get('ipasearchtimelimit', [None])[0] - _lims['size'] = config.get('ipasearchrecordslimit', [None])[0] + _lims['time'] = int(config.get('ipasearchtimelimit', [None])[0]) + _lims['size'] = int(config.get('ipasearchrecordslimit', [None])[0]) return _lims _lims = {} |