Hi, I've configured the connexion to our ldap. I've thsi error AddMember failed at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 158. What does it mean and what can i do? I've seen in the logs and nothing special. Best regards samuel
Hi. We have upgraded from 3.8.2 to 3.8.4 (on Ubuntu, through apt-get) and since then we are experiencing search problems; even after reindexing zebra many times, we keep getting "No results found". We go on reindexing until it eventually works, but sooner or later the problem is back. Our library has 50k records. The log says: [Fri Oct 05 16:03:31 2012] [error] [client ----] [Fri Oct 05 16:03:31] detail.pl: Use of uninitialized value in string ne at /usr/share/koha/intranet/cgi-bin/catalogue/detail.pl line 260., referer: http://xxx.xxx.xxx.xxx/cgi-bin/koha/catalogue/search.pl?q=xxxx And detail.pl line 260: if ($item->{'materials'} ne ''){ $materials_flag = 1; } push @itemloop, $item; Any suggestions? Thanks in advance.
Hi. We have upgraded from 3.8.2 to 3.8.4 (on Ubuntu, through apt-get) and since then we are experiencing search problems; even after reindexing zebra many times, we keep getting "No results found". We go on reindexing until it eventually works, but sooner or later the problem is back. Our library has 50k records. The log says: [Fri Oct 05 16:03:31 2012] [error] [client ----] [Fri Oct 05 16:03:31] detail.pl: Use of uninitialized value in string ne at /usr/share/koha/intranet/cgi-bin/catalogue/detail.pl line 260., referer: http://xxx.xxx.xxx.xxx/cgi-bin/koha/catalogue/search.pl?q=xxxx And detail.pl line 260: if ($item->{'materials'} ne ''){ $materials_flag = 1; } push @itemloop, $item; Any suggestions? Thanks in advance.
Greetings, Your error message is unrelated to your indexing problem. Your error message is related to Bug 8175, for which there is a patch that has not passed QA yet. First: is zebra even running? $ ps aux | grep zebra Second: Have you tried a rebuild_zebra_sliced.sh? or the script from bug 6566? Those are the ideas that come to my mind. GPML, Mark Tompsett
Please show your ldap configuration from koha-conf.xml. I have ldap authentication working here, so perhaps I can help. MJ On 10/08/2012 02:20 PM, Samuel Desseaux wrote:
Hi,
I've configured the connexion to our ldap.
I've thsi error
AddMember failed at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 158.
What does it mean and what can i do? I've seen in the logs and nothing special.
Best regards
samuel
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Here's my configuration <useldapserver>1</useldapserver> <ldapserver id="ldapserver" listenref="ldapserver"> <hostname></hostname> <base></base> <user></user> <pass></pass> <replicate>1</replicate> <update>1</update> <auth_by_bind>1</auth_by_bind> <principal_name>uid=%s,ou=people,dc=ecp,dc=fr</principal_name> <mapping> <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="email"></email> <categorycode is="supannEtuDiplome">employee</categorycode> <phone is="telephonenumber">903-566-7654</phone> <dateenrolled is="">2012-09-01</dateenrolled> <dateexpiry is="">2013-09-01</dateexpiry> </mapping> </ldapserver> Le 08/10/2012 17:03, mourik jan heupink a écrit :
Please show your ldap configuration from koha-conf.xml. I have ldap authentication working here, so perhaps I can help.
MJ
On 10/08/2012 02:20 PM, Samuel Desseaux wrote:
Hi,
I've configured the connexion to our ldap.
I've thsi error
AddMember failed at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 158.
What does it mean and what can i do? I've seen in the logs and nothing special.
Best regards
samuel
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Oups, i've dropped some important things. <!-- Configuration ldap --> <useldapserver>1</useldapserver> <ldapserver id="ldapserver" listenref="ldapserver"> <hostname>auth1.ldap.ecp.fr</hostname> <base>ou=people,dc=ecp,dc=fr</base> <user>cn=syncrepl,ou=applications,dc=ecp,dc=fr</user> <pass>****</pass> <replicate>1</replicate> <update>1</update> <auth_by_bind>1</auth_by_bind> <principal_name>uid=%s,ou=people,dc=ecp,dc=fr</principal_name> <mapping> <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="email"></email> <categorycode is="supannEtuDiplome">employee</categorycode> <phone is="telephonenumber">903-566-7654</phone> <dateenrolled is="">2012-09-01</dateenrolled> <dateexpiry is="">2013-09-01</dateexpiry> </mapping> </ldapserver> I'v seen alos this erreur in the logs Use of initialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth_with_cas.pm line 94, <DATA> line 577. Le 08/10/2012 21:15, mourik jan heupink a écrit :
Seems you have left many settings unconfigured...:
<hostname></hostname> <base></base> <user></user> <pass></pass> You need to enter the details for your ldap server, above.
MJ _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi Samuel, Just to be clear: I'm no expert at all, and can only tell you what works here. We also have <replicate>1</replicate> <update>1</update> <auth_by_bind>1</auth_by_bind> and because of that, we have NO <user>cn=syncrepl,ou=applications,dc=ecp,dc=fr</user> <pass>****</pass> since auth_by_bind means that koha will try to authenticate using the username/password that the patron typed. So I would try to leave that out. Then about the mappings: It is worth to check that all *required* fields (check the admin interface to see which fields are required in your installation) are provided. But basically your mappings look similar to mine. And they work here. Good luck, MJ
participants (5)
-
Mark Tompsett -
mourik jan c heupink -
mourik jan heupink -
Robson Galluci -
Samuel Desseaux