<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Sans Unicode";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
@font-face
        {font-family:"Adobe Garamond Pro";
        panose-1:2 2 5 2 6 5 6 2 4 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>In trying to get LDAP authentication working with Koha 3.0,
I’m coming across the following error when loading the OPAC page:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>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.<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><ldapserver id="ldapserver"
listenref="ldapserver"><o:p></o:p></p>
<p class=MsoNormal> <hostname>abc</hostname><o:p></o:p></p>
<p class=MsoNormal> <base>dc=abc,dc=domain,dc=com</base><o:p></o:p></p>
<p class=MsoNormal> <replicate>1</replicate> <!--
add new users from LDAP to Koha database --><o:p></o:p></p>
<p class=MsoNormal> <update>1</update> <!--
update existing users in Koha database --><o:p></o:p></p>
<p class=MsoNormal> <mapping> <!-- match
koha SQL field names to your LDAP record field names --><o:p></o:p></p>
<p class=MsoNormal> <firstname is="givenname"
></firstname><o:p></o:p></p>
<p class=MsoNormal> <surname is="sn"
></surname><o:p></o:p></p>
<p class=MsoNormal> <address is="postaladdress"
></address><o:p></o:p></p>
<p class=MsoNormal> <city is="l"
>Athens, OH</city><o:p></o:p></p>
<p class=MsoNormal> <zipcode is="postalcode"
></zipcode><o:p></o:p></p>
<p class=MsoNormal> <branchcode is="branch" >MAIN</branchcode><o:p></o:p></p>
<p class=MsoNormal> <userid is="uid"
></userid><o:p></o:p></p>
<p class=MsoNormal> <password is="userpassword"
></password><o:p></o:p></p>
<p class=MsoNormal> <email is="mail"
></email><o:p></o:p></p>
<p class=MsoNormal> <categorycode is="employeetype"
>PT</categorycode><o:p></o:p></p>
<p class=MsoNormal> <phone
is="telephonenumber"></phone><o:p></o:p></p>
<p class=MsoNormal> </mapping><o:p></o:p></p>
<p class=MsoNormal> </ldapserver><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks for any insight into this.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Adobe Garamond Pro","serif"'>James
Winter<o:p></o:p></span></b></p>
<p class=MsoNormal><b><i><span style='font-size:10.0pt;color:#C00000'><a
href="http://www.arcadia.edu/"><span style='color:#C00000;text-decoration:none'>Arcadia
University</span></a><o:p></o:p></span></i></b></p>
<p class=MsoNormal><span style='font-size:10.0pt'>Systems Manager<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>215.517.2588<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'><a
href="mailto:winterj@arcadia.edu" title="Send James an email"><span
style='color:windowtext;text-decoration:none'>winterj@arcadia.edu</span></a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Lucida Sans Unicode","sans-serif"'> </span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>