[Koha] koha --> ldap: error

Samuel desseaux samuel.desseaux at ecp.fr
Fri May 25 22:25:51 NZST 2012


Hello,

I try to configure ldap but i don't succeed

Here's the error

Software error:

not well-formed (invalid token) at line 280, column 15, byte 11694 at 
/usr/lib/perl5/XML/Parser.pm line 187
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Output.pm 
line 31.
Compilation failed in require at 
/usr/share/koha/intranet/cgi-bin/mainpage.pl line 24.
BEGIN failed--compilation aborted at 
/usr/share/koha/intranet/cgi-bin/mainpage.pl line 24.


I think to a mapping's problem but i need your opinion.


My ldap's conf is the following

<ldapserver id=”ldapserver” listenref=”ldapserver”>
<hostname>xxxxx</hostname>
<base>ou=people,dc=ecp,dc=fr</base>
<user>xxxxx</user><!– DN, if not anonymous –>
<pass>xxxxx</pass><!– password, if not anonymous –>
<replicate>1</replicate> <!– add new users from LDAP to Koha database –>
<update>1</update> <!– update existing users in Koha database –>
<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=**,dc=**</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=””>Chantenay-Malabry</city>
<zipcode is=””>92290</zipcode>
<branchcode is=”">ECAM</branchcode>
<userid is=”uid”></userid>
<password is=”userPassword"></password>
<cardnumber is=”ecpbadgeNumber></cardnumber>
<email is="email"></email>
<categorycode is="supannEtuDiplome">employee</categorycode>
<phone is=”telephonenumber”>******</phone>
<dateenrolled is=”">2011-03-27</dateenrolled>
<dateexpiry is=”">2011-05-13</dateexpiry>
</mapping>
</ldapserver>

best regards

samuel


More information about the Koha mailing list