]> 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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:18:56 +0000 (23:18 +0200)
commit60bf2ab7d8e03debc168d2515b957c8e1d411efa
treef754c0c0b27032e18d773270636c0163f35e0ceb
parent858da3ea95cb3d9fa5135ed1485e5db20a690c46
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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Auth_with_ldap.pm