<div dir="ltr">Dear Members,<br><br><br>I need to do LDAP Authentication with the latest Koha version, but it does not work. [[[[Invalid Username or Password ]]]]<br><br><b>Below is a subsection of the koha-conf.xml file:</b><br>
<br><!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE --><br><!-- db_scheme should follow the DBD driver name --><br><!-- port info: mysql:3306 Pg:5432 (5433 on Debian) --><br><config><br> <db_scheme>mysql</db_scheme><br>
<database>koha</database><br> <database>koha</database><br> <hostname>localhost</hostname><br> <port>3306</port><br> <user>koha</user><br> <pass>koha</pass><br>
<biblioserver>biblios</biblioserver><br> <biblioservershadow>1</biblioservershadow><br> <authorityserver>authorities</authorityserver><br> <authorityservershadow>1</authorityservershadow><br>
<intranetdir>/var/www/koha-2010-08-04</intranetdir><br> <opacdir>/var/www/koha-2010-08-04/opac</opacdir><br> <opachtdocs>/var/www/koha-2010-08-04/koha-tmpl/opac-tmpl</opachtdocs><br> <intrahtdocs>/var/www/koha-2010-08-04/koha-tmpl/intranet-tmpl</intrahtdocs><br>
<includes>/var/www/koha-2010-08-04/koha-tmpl/intranet-tmpl/prog/en/includes/</includes><br> <logdir>/home/mistuser/koha-dev/var/log</logdir><br> <pazpar2url><a href="http://localhost:11002/search.pz2">http://localhost:11002/search.pz2</a></pazpar2url><br>
<install_log>/home/mistuser/koha-dev/misc/koha-install-log</install_log><br> <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on --><br>
<memcached_servers></memcached_servers><br> <memcached_namespace></memcached_namespace><br><br><!-- LDAP SERVER (optional) --><br><useldapserver>1</useldapserver><br><ldapserver id="ldapserver" listenref="ldapserver"><br>
<hostname><a href="http://10.111.20.20:389">10.111.20.20:389</a></hostname><br> <base>ou=MEEK,dc=meek,dc=ca</base><br> <user>CN=KOHA SSO,OU=Staff,OU=Users,OU=MEEK,DC=meek,DC=ca </user><br>
<pass>P@ssword123</pass><!-- password, if not anonymous --><br> <replicate>1</replicate> <!-- add new users from LDAP to Koha database --><br> <update>0</update> <!-- update existing users in Koha database --><br>
<auth_by_bind>1</auth_by_bind> <!-- set to 1 to authenticate by binding instead of password comparison, e.g., to use Active Directory --><br> <principal_name>%<a href="mailto:s@meek.ac.ca">s@meek.ac.ca</a></principal_name><br>
<mapping> <!-- match koha SQL field names to your LDAP record field names --><br> <firstname is="givenname" ></firstname><br> <surname is="sn" ></surname><br>
<address is="postaladdress" ></address><br> <city is="l" >Calgary, Canada</city><br> <zipcode is="postalcode" ></zipcode><br>
<branchcode is="">meek</branchcode><br> <userid is="samAccountName" ></userid><br> <password is="" ></password><br>
<email is="mail" ></email><br> <categorycode is=""></categorycode><br> <phone is="telephonenumber"></phone><br>
<dateexpiry is=""></dateexpiry><br><br> </mapping><br></ldapserver><br><br></config><br></yazgfs><br><br><br>Please note that I copied this portion of the LDAP XML from my 3.0 Version[Production] which had LDAP Working and then I added the extra <Principle_name> thing to the xml.<br>
<br><br>What else do I have to do after changing this koha-conf.xml file? Kindly note, that this info of authentication works, because it worked on the 3.0 before but not on the HEAD/Git. Its copy paste + <principle_name> tag.<br>
<br>I checked the error logs, both produce nothing, which is very very odd.<br><br>The only error I get happens on screen and it is [[[Invalid Username and Password]]]]<br><br>Kindly awaiting a reply. This is really important.<br>
<br>Best Regards,<br><br><br><br><br><br><br></div>