[Koha] ldap/ Koha

Samuel desseaux samuel.desseaux at ecp.fr
Thu May 31 01:07:35 NZST 2012


Hello,

It's the first time i configure a connection between koha and a ldap.

I don't succeed (only one try would have been fantastic).

This is an extract of my file

<auth_by_bind>1</auth_by_bind> <!-- set to 1 to authenticate by binding 
instead of password comparison, e.g., to use Active Directory-->
<principal_name>uid=%s,ou=people,dc=ecp,dc=fr</principal_name>
<!-- optional, for auth_by_bind: a printf format to make 
userPrincipalName from koha userid -->
<mapping> <!-- match koha SQL field names to your LDAP record field 
names -->
<firstname is='givenName'></firstname>
<surname is='sn'> </surname>
<address is=''>Ecole Centrale Paris</address>
<city is=''>Chatenay-Malabry</city>
<zipcode is=''>92290</zipcode>
<branchcode is=''>ECAM</branchcode>
<userid is='uid'></userid>
<password is='userPassword'></password>
<cardnumber is='ecpbadgeNumber'></cardnumber>
<email is='mail'></email>
<categorycode is='supannEtuDiplome'>employee</categorycode>
<phone is='telephoneNumber'></phone>


I don't find where is the problem. Mapping between koha and ldap seems 
to be good.

But, in logs, i see this problem
[Wed May 30 14:58:07 2012] [error] [client 138.195.48.69] [Wed May 30 
14:58:07 2012] opac-user.pl: DBD::mysql::st fetchrow failed: fetch() 
without execute() at /usr/share/koha/lib/C4/Auth.pm line 1463, <DATA> 
line 558., referer: http://koha.ecp.fr/cgi-bin/koha/opac-user.pl

An idea?

Best regards

samuel


More information about the Koha mailing list