[Koha-devel] Koha + LDAP

Pablo Bianchi pablo.bianchi at gmail.com
Fri Jun 7 17:42:23 CEST 2013


Hi all!

I'm trying to set up a Koha instance (stable, v3.12, koha-common) with an
OpenLDAP. I already setup koha-conf.xml and fix every LDAP error I had,
using the output of:
/usr/share/koha/opac/cgi-bin/opac/opac-user.pl userid="10000"
password="1234" >/dev/null

But now this only gives me:
Use of uninitialized value $pki_field in string eq at
/usr/share/koha/lib/C4/Auth.pm line 789, <DATA> line 522.
Use of uninitialized value $pki_field in string eq at
/usr/share/koha/lib/C4/Auth.pm line 789, <DATA> line 522.
Use of uninitialized value $retuserid in string ne at
/usr/share/koha/lib/C4/Auth.pm line 826, <DATA> line 522.

Same on intranet-error.log or opac-error.log, trying via web; same lines if
ldap user or local user. But logging with local accounts works fine, the
problem is just with LDAP, which AFAIK use MD5, so I was wondering if all
this have something to do with bug
#9611<http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9611>.
Already installed Crypt::Eksblowfish::Bcrypt and Crypt::Random::Source
without luck. Using ldapsearch to fetch user information works fine.

Any ideas?

Regards,
Pablo

PS: JFTR, I needed to touch Auth_wiith_ldap.pm line ~81 (*my $filter...*)
to have only one hit (strange LDAP tree).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130607/cec6e073/attachment.html>


More information about the Koha-devel mailing list