Hi for all,
We are trying to connect koha to LDAP,  but appears as credentials its not
working, and cant fount what the problem its.  this configuration works
fine in production environment in version 3.16

Follow are the paras in the  /etc/koha/sites/catalogo/koha-conf.xml file

<useldapserver>1</useldapserver>
 <ldapserver id="ldapserver" listenref="ldapserver">
<hostname>ldap://ourldapServer:389</hostname>
<base>DC=University,DC=EDU</base>
<user>CN=ldap_user,OU=Cuenta de servicio,DC=University,DC=EDU</user>
<pass>myPassword</pass>
<replicate>1</replicate>
<update>0</update>
<auth_by_bind>1</auth_by_bind>
<anonymous_bind>0</anonymous_bind>
<update_password>0</update_password>
<principal_name>%s...@urosario.edu.co</principal_name>
<mapping>
<firstname is="givenName" ></firstname>
<surname is="sn" ></surname>
<userid is="cn"></userid>
<email is="mail"></email>
<phone  is="telephonenumber"></phone>
<cardnumber  is="postOfficeBox"></cardnumber>
</mapping>
</ldapserver>


We test the connection from the command line, so:
export PERL5LIB=/usr/share/koha/lib/ && export
KOHA_CONF=/etc/koha/sites/catalogo/koha-conf.xml && perl
/usr/share/koha/opac/cgi-bin/opac/opac-user.pl userid=humberto.blanco
password=password_for_humberto.blanco

and gets the following error:
LDAP bind failed as kohauser humberto.blanco: LDAP error #49:
LDAP_INVALID_CREDENTIALS# The wrong password was supplied or the SASL
credentials could not be processed

Does no matter what kind of information i put on the password field, ever
gets the same error.

any idea?

-- 
sincerelly,


Humberto Blanco
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to