In trying to get LDAP authentication working with Koha 3.0, I'm coming across the following error when loading the OPAC page: No "ldapserver" in server hash from KOHA_CONF: /etc/koha/koha-conf.xml at /usr/share/perl/5.8/CGI/Carp.pm line 314, <DATA> line 275. Is this indicating that the LDAP connection is failing, or that my koha-conf.xml isn't configured correctly? This is my LDAP config section: <ldapserver id="ldapserver" listenref="ldapserver"> <hostname>abc</hostname> <base>dc=abc,dc=domain,dc=com</base> <replicate>1</replicate> <!-- add new users from LDAP to Koha database --> <update>1</update> <!-- update existing users in Koha database --> <mapping> <!-- match koha SQL field names to your LDAP record field names --> <firstname is="givenname" ></firstname> <surname is="sn" ></surname> <address is="postaladdress" ></address> <city is="l" >Athens, OH</city> <zipcode is="postalcode" ></zipcode> <branchcode is="branch" >MAIN</branchcode> <userid is="uid" ></userid> <password is="userpassword" ></password> <email is="mail" ></email> <categorycode is="employeetype" >PT</categorycode> <phone is="telephonenumber"></phone> </mapping> </ldapserver> Thanks for any insight into this. James Winter Arcadia University <http://www.arcadia.edu/> Systems Manager 215.517.2588 winterj@arcadia.edu <mailto:winterj@arcadia.edu>
Hi, Note: I'm not yet running koha 3.
No "ldapserver" in server hash from KOHA_CONF: /etc/koha/koha-conf.xml at /usr/share/perl/5.8/CGI/Carp.pm line 314, <DATA> line 275. <ldapserver id="ldapserver" listenref="ldapserver">
<hostname>abc</hostname> Is abc really your ldapserver hostname? You may want to test with a fully qualified hostname, or an ip address, maybe that works?
Hope that helps, mj
I changed the actual hostname to abc. I did figure out that I didn't have the ldapserver section within the config section of koha-conf.xml, so that part is "working." I'm still trying to figure out how to set up the mapping correctly. I forgot to mention I'm trying to use this with Active Directory. Has anyone setup this mapping yet to work with Active Directory? James Winter Arcadia University Systems Manager 215.517.2588 winterj@arcadia.edu -----Original Message----- From: mourik jan c heupink [mailto:heupink@merit.unu.edu] Sent: Thursday, October 09, 2008 2:11 PM To: Winter, James Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha 3.0 and LDAP Hi, Note: I'm not yet running koha 3.
No "ldapserver" in server hash from KOHA_CONF: /etc/koha/koha-conf.xml at /usr/share/perl/5.8/CGI/Carp.pm line 314, <DATA> line 275. <ldapserver id="ldapserver" listenref="ldapserver">
<hostname>abc</hostname> Is abc really your ldapserver hostname? You may want to test with a fully qualified hostname, or an ip address, maybe that works?
Hope that helps, mj
participants (2)
-
mourik jan c heupink -
Winter, James