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.
Chris Hendrickx <chris.hendrickx@sanctamaria-aarschot.be> wrote:
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). [...] Anyone who can help us or simply tell us what step we missed during configuration?
This probably isn't much help, but I'd try to compare what Moodle or Horde are doing to your LDAP server (in PHP) with what Koha is doing (in Perl) and try to make it do the same. What might be more help is that I'll be walking a similar path in the new year (making a Koha 3 installation use a Moodle-ready LDAP) so I'll remember to check the notes then. Happy new year, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
participants (2)
-
Chris Hendrickx -
MJ Ray