]> 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 19:02:36 +0000 (15:02 -0400)
commit3ff9a4fafd66a70788e5e6dafb9adb81bb1f3ad0
tree0721f3a3ab862109928a39c3a8492285dda864aa
parent21d7968dd2c4fa24bbcf1a95e473f18b7f250bfb
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