From 9fe026b47daecb8686c0ade649d5b12cd0cbf6e6 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 10 Feb 2009 09:51:27 +0100 Subject: Fix the default search scope --- ipaserver/plugins/b_ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipaserver/plugins') diff --git a/ipaserver/plugins/b_ldap.py b/ipaserver/plugins/b_ldap.py index 1d5cc40d4..68e6f4d8e 100644 --- a/ipaserver/plugins/b_ldap.py +++ b/ipaserver/plugins/b_ldap.py @@ -203,7 +203,7 @@ class ldap(CrudBackend): scope_dict = {'one' : _ldap.SCOPE_ONELEVEL, 'subtree' : _ldap.SCOPE_SUBTREE, 'base' : _ldap.SCOPE_BASE } - return scope_dict.get(scope_str, _ldap.SCOPE_BASE) + return scope_dict.get(scope_str, _ldap.SCOPE_SUBTREE) def modify_password(self, dn, **kw): return servercore.modify_password(dn, kw.get('oldpass'), kw.get('newpass')) -- cgit