summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 11:46:04 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 11:46:04 +0000
commitb482086e4c42012a7651b8bdf590ee35c3dad909 (patch)
tree5a81fb50225387da4abae2f8adcdcc234ef3c5fa
parentab3aeee1a30ee60458f7df99f13aea2992dd784c (diff)
downloadpykolab-b482086e4c42012a7651b8bdf590ee35c3dad909.tar.gz
Use regular search in _find_dn()
-rw-r--r--pykolab/auth/ldap/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index 5390a86..b41024e 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -231,7 +231,8 @@ class LDAP(object):
_results = self._search(
user_base_dn,
filterstr=search_filter,
- attrlist=[ 'dn' ]
+ attrlist=[ 'dn' ],
+ override_search='_regular_search'
)
if len(_results) == 1: