Permalink
Browse files

locate users by email address when bound as admin

minimises ACL requirements
  • Loading branch information...
winjer committed Jan 31, 2012
1 parent f483f84 commit 062216823874c7b0b49971896f6b71b66f9a5825
Showing with 1 addition and 0 deletions.
  1. +1 −0 django_ldap_pixiedust/backend.py
@@ -74,6 +74,7 @@ def authenticate(self, username, password):
usual mechanism. """
search = settings.ldap_settings.LDAP_PIXIEDUST_LOGIN_SEARCH
+ self._bind()
results = search.execute(self._get_connection(), {"user": username})
# Process all results and test if they authenticate. We are only expecting a single

0 comments on commit 0622168

Please sign in to comment.