]> git.koha-community.org Git - koha.git/commit
Bug 4993 checkpw_ldap - do bind just once
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 13 Jul 2010 18:48:41 +0000 (20:48 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 17 Jun 2011 02:32:47 +0000 (14:32 +1200)
commit322a5ef4819960c5ba5b65ce07150ce873aa6a3d
tree5a13409cc0f2efe94512e6ba1e97af46f370874f
parentabdd5e8ced775000c827e40befc21fa36caa340f
Bug 4993 checkpw_ldap - do bind just once

When using auth_by_bind, search was always done as anonymous user.
This is a problem if we want to fetch LDAP values which have ACL
permissions only for users.

This change moves bind from search_method back into checkpw_ldap,
making code cleaner and easier to understand

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Auth_with_ldap.pm