Bugzilla – Attachment 22119 Details for
Bug 10908
Fix broken auth_by_bind LDAP mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[PASSED-QA] Bug 10908 - fix broken LDAP
PASSED-QA-Bug-10908---fix-broken-LDAP.patch (text/plain), 1.87 KB, created by
Brendan Gallagher
on 2013-10-20 22:01:01 UTC
(
hide
)
Description:
[PASSED-QA] Bug 10908 - fix broken LDAP
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2013-10-20 22:01:01 UTC
Size:
1.87 KB
patch
obsolete
>From 7c3ad700c00cf1757cabc2ab66369f0b79b90b8c Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >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 <ulrich.kleiber@bsz-bw.de> >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> >--- > 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 --> > <anonymous_bind>0</anonymous_bind> <!-- set to 1 if users should be searched using > an anonymous bind, even when auth_by_bind is on --> >+ <principal_name>%s@my_domain.com</principal_name> >+ <!-- optional, for auth_by_bind: a printf format to make userPrincipalName from koha userid. >+ Not used with anonymous_bind. --> >+ > <mapping> <!-- match koha SQL field names to your LDAP record field names --> > <firstname is="givenname" ></firstname> > <surname is="sn" ></surname> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 10908
:
21154
|
21155
|
21652
|
21653
|
22119
|
22121
|
22137
|
22138