[Koha] Koha + Ldap no authentication

Chris Hendrickx chris.hendrickx at sanctamaria-aarschot.be
Sun Dec 28 05:41:28 NZDT 2008


We Have setup Koha and want to login with the users from our LDAP  
database. Our LDAP is functional and in use for samba, Moodle and  
Horde (Learning environment and e-mail for our school).

We managed to setup and configure Koha and followed the instructions  
as displayed in this page:
http://wiki.koha.org/doku.php?id=en:development:ldap&s=ldap module

In the logs koha-opac-error_log  we find:


[Sat Dec 27 17:15:14 2008] [error] [client 192.168.0.66] [Sat Dec 27  
17:15:14 2008] opac-user.pl: LDAP Auth rejected : invalid password for  
user 'inge'. LDAP error #5: LDAP_COMPARE_FALSE, referer:  
http://192.168.0.8/cgi-bin/koha/opac-user.pl
[Sat Dec 27 17:15:14 2008] [error] [client 192.168.0.66] [Sat Dec 27  
17:15:14 2008] opac-user.pl: # This code is returned when a compare  
request completes and the attribute value, referer:  
http://192.168.0.8/cgi-bin/koha/opac-user.pl
[Sat Dec 27 17:15:14 2008] [error] [client 192.168.0.66] [Sat Dec 27  
17:15:14 2008] opac-user.pl: given is not in the entry specified,  
referer: http://192.168.0.8/cgi-bin/koha/opac-user.pl
[Sat Dec 27 17:15:14 2008] [error] [client 192.168.0.66] [Sat Dec 27  
17:15:14 2008] opac-user.pl: , referer:  
http://192.168.0.8/cgi-bin/koha/opac-user.pl
[Sat Dec 27 17:15:14 2008] [error] [client 192.168.0.66] [Sat Dec 27  
17:15:14 2008] opac-user.pl: HTML::Template::Pro:template  
doc-head-open.inc not found! at /usr/share/koha/lib/C4/Auth.pm line  
833, referer: http://192.168.0.8/cgi-bin/koha/opac-user.pl
[Sat Dec 27 17:15:14 2008] [error] [client 192.168.0.66] [Sat Dec 27  
17:15:14 2008] opac-user.pl: HTML::Template::Pro:template  
doc-head-close.inc not found! at /usr/share/koha/lib/C4/Auth.pm line  
833, referer: http://192.168.0.8/cgi-bin/koha/opac-user.pl
[Sat Dec 27 17:15:14 2008] [error] [client 192.168.0.66] EXPR:at pos  
29: non-initialized variable virtualshelves, referer:  
http://192.168.0.8/cgi-bin/koha/opac-user.pl



When trying to log in using a username that does not excist we get in  
the same log:

[Sat Dec 27 16:51:16 2008] [error] [client 192.168.0.66] [Sat Dec 27  
16:51:16 2008] opac-user.pl: LDAP Auth rejected : (uid=yvan) gets 0  
hits, referer: http://192.168.0.8/cgi-bin/koha/opac-main.pl?logout.x=1



We concluded that the account information is past on to the LDAP  
server (non exsisting user returns 0 hits) but in a wrong format of  
some kind.

Anyone who can help us or simply tell us what step we missed during  
configuration?

Kind regards,

Chris Hendrickx
Instituut Sancta Maria aarschot - Belgium
(School)

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Koha mailing list