]> git.koha-community.org Git - koha.git/commit
Bug 9299: fix LDAP login breakage when ExtendedPatronAttributes is on
authorSrdjan <srdjan@catalyst.net.nz>
Wed, 5 Jun 2013 04:34:29 +0000 (16:34 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 13 Nov 2013 17:02:59 +0000 (14:02 -0300)
commit51491eb6e32960a8c1b594d3a0508565f83adbda
treeff8c20e9de1f3b474a6d46db254593543c6e1921
parent1f9f3e25a2809bcab0f4d5f12418fc41335a3288
Bug 9299: fix LDAP login breakage when ExtendedPatronAttributes is on

To test:
- Configure an LDAP server and $KOHA_CONF, etc.
- Make sure ExtendedPatronAttributes is defined and that
  there is no attribute defined that is specified to be
  a unique ID.
- Try to log in using an account originating from the
  LDAP directory.
- You will got a software error:
  Can't use an undefined value as an ARRAY reference at
  /home/koha/src/C4/Auth_with_ldap.pm line 183.
- Apply the patch.
- Try to log in again; this time it should work.

Signed-off-by: Nuño López Ansótegui <nunyo@masmedios.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 4d75243e27cab93cd84ee6bbfd71362326569c21)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Auth_with_ldap.pm