summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-02-10 09:51:27 +0100
committerRob Crittenden <rcritten@redhat.com>2009-02-10 14:10:12 -0500
commit9fe026b47daecb8686c0ade649d5b12cd0cbf6e6 (patch)
treec1ac3aecf47eb07f49c531ba01788062c53bfe9e /ipaserver/plugins
parent66099d2e0ff3a060e1b64423d9e20bd372a7e23c (diff)
downloadfreeipa-9fe026b47daecb8686c0ade649d5b12cd0cbf6e6.tar.gz
freeipa-9fe026b47daecb8686c0ade649d5b12cd0cbf6e6.tar.xz
freeipa-9fe026b47daecb8686c0ade649d5b12cd0cbf6e6.zip
Fix the default search scope
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r--ipaserver/plugins/b_ldap.py2
1 files changed, 1 insertions, 1 deletions
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'))