]> git.koha-community.org Git - koha.git/commit
in Auth_with_ldap.pm try binding with user password or compare
authorMichael Hafen <mdhafen@tech.washk12.org>
Wed, 29 Oct 2008 19:48:04 +0000 (13:48 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 21 May 2009 19:19:49 +0000 (14:19 -0500)
commit083ad362e19aecc5c5febc8e0c39c8da03f463e3
treec1be73b6efd32b61495f303d52fa8b3357addf3f
parent02d23609b1671393c0719be69dfa4f13cb4c95ee
in Auth_with_ldap.pm try binding with user password or compare

This changes the checkpw code in Auth_with_ldap.  Along with comparing
the user entered password against the directory attibute userPassword
you can try to bind with the users dn and password.

This is controlled by the option auth_by_bind, which, if set, causes
this code to try binding instead of comparing.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Auth_with_ldap.pm