make it possible to change the search scope
[matthijs/upstream/django-ldapdb.git] / ldapdb / models / base.py
index f0ed7468a23f60fde79eb5cf2bc12481d605400f..d09a5e0befbb9decbcfaf32ca62afa807cda66c1 100644 (file)
@@ -68,6 +68,7 @@ class Model(django.db.models.base.Model):
 
     # meta-data
     base_dn = None
+    search_scope = ldap.SCOPE_SUBTREE
     object_classes = ['top']
 
     def __init__(self, *args, **kwargs):