From 7c3ad700c00cf1757cabc2ab66369f0b79b90b8c Mon Sep 17 00:00:00 2001 From: Robin Sheat Date: Wed, 18 Sep 2013 17:16:51 +1200 Subject: [PATCH] [PASSED-QA] Bug 10908 - fix broken LDAP 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 Signed-off-by: Brendan Gallagher --- C4/Auth_with_ldap.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm index 47c3056..3b40015 100644 --- a/C4/Auth_with_ldap.pm +++ b/C4/Auth_with_ldap.pm @@ -437,6 +437,10 @@ Example XML stanza for LDAP configuration in KOHA_CONF. password comparison, e.g., to use Active Directory --> 0 + %s@my_domain.com + + -- 1.7.10.4