]> 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 Nighswonger <chris.nighswonger@gmail.com>
Sun, 19 Jun 2011 20:04:41 +0000 (16:04 -0400)
commit7e052ff23b576f457c34fe2f211f4fa99c062f09
tree3fa10aa8446c760e60a917602d6000ccaa9cd40e
parentf672ea58dcddd7c4469caa232e6c2fe6c02c19e5
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>
(cherry picked from commit 322a5ef4819960c5ba5b65ce07150ce873aa6a3d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Auth_with_ldap.pm