diff options
-rw-r--r-- | ipaserver/plugins/ldap2.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index 12005c01f..05292ce7c 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -489,7 +489,7 @@ class ldap2(CrudBackend, Encoder): @encode_args(1, 2, 3) @decode_retval() - def find_entries(self, filter, attrs_list=None, base_dn='', + def find_entries(self, filter=None, attrs_list=None, base_dn='', scope=_ldap.SCOPE_SUBTREE, time_limit=None, size_limit=None, normalize=True): """ @@ -578,8 +578,6 @@ class ldap2(CrudBackend, Encoder): )[0][0] except errors.NotFound: config_entry = {} - except Exception, e: - raise e for a in self.config_defaults: if a not in config_entry: config_entry[a] = self.config_defaults[a] |