]> git.koha-community.org Git - koha.git/commit
Bug 10908: restore non-anonymous auth_by_bind LDAP options
authorRobin Sheat <robin@catalyst.net.nz>
Wed, 18 Sep 2013 05:16:51 +0000 (17:16 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 21 Oct 2013 15:27:21 +0000 (15:27 +0000)
commit5bd8df784e340af2a071ffacd482a6ddd15137c9
tree91e1cb5f4858bc6d1fdb199fa8104b292060567b
parentdbc0a847200edcacc81b010bc37bba6df712d5a6
Bug 10908: restore non-anonymous auth_by_bind LDAP options

Recent changes to LDAP broke auth_by_bind in many situations. This bug
resets the behaviour to what it used to be, however also allows the new
behaviour by adding the 'anonymous_bind' parameter to the LDAP config.

Testing:
    1) Find an LDAP configuration that was broken recently that uses
       auth_by_bind
    2) Apply this patch
    3) See if it works again.
Additionally, testing the original path in the case of 'anonymous_bind'
being set should probably be done too, but I have no idea about the LDAP
server config for that.

Signed-off-by: Ulrich Kleiber <ulrich.kleiber@bsz-bw.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Auth_with_ldap.pm