]> git.koha-community.org Git - koha.git/commit
Bug 8148 - LDAP auth_by_bind doesn't fallback to local auth
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 12 Mar 2014 09:45:09 +0000 (10:45 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 7 Aug 2014 19:22:49 +0000 (16:22 -0300)
commitc9351807e9c4d46662257b85f106877e1198c542
treef6cb07819d6e7bc527f6cae3703aaa2b15f9b290
parentf68d9e6ec4cd5fbc68d55f7b1e0e389e4755338f
Bug 8148 - LDAP auth_by_bind doesn't fallback to local auth

This patch covers LDAP auth_by_bind configuration so that wrong
LDAP password will return -1 to C4::Auth so we can abort local auth
and prevent users logging in with stale database passwords.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Auth.pm
C4/Auth_with_ldap.pm