[Koha] [Koha-devel] Z39.50 server authentication

LAURENT Henri-Damien henridamien.laurent at biblibre.com
Wed May 25 16:51:35 NZST 2011


Le 24/05/2011 18:21, Chris Nighswonger a écrit :
> Please avoid cross posting. As this question is not a development
> related question, it is best directed at the Koha users' list.

Well from a user propective, I agree that this question is not really
easy to solve. And koha-devel seems to be often more reactive on
technical questions, so that users my be tempted to use that.
And in that case, it is a matter of zebra configuration, so that it
requires access to the zebra server configuration files.
But I agree it is a sane recommandation you made.
But it didnot give any hint.

> 2011/5/24 Altaf Mahmud <altaf.mahmud at gmail.com>:
>> Dear community,
>> I've enabled the Z39.50 server in my Koha server following these steps:
>> 1. Edited /etc/koha/koha-conf.xml file and uncommented the publicserver
>> line:
>>    <listen id="publicserver" >tcp:@:9999</listen>
>>    And change this line:
>>    <server id="biblioserver" listenref="biblioserver">
>>    to
>>    <server id="biblioserver">
>>    It forces Zebra to listen on unix socket (for Koha) and on TCP port 9999
>> (for external usage).
>> 2. Restarted Zebra server.
>> MARC data can now accessed from my z39.50 server. Now I want to implement
>> the authentication process so that user id and login required to connect to
>> my server. I don't know how to do it, could you please give me an advise?

If you want your zebra server not to be accessible with anonymous access;
you can comment the perm.anonymous line in zebra-*.cfg line

For testing purpose, you may want to copy for instance zebra-biblios.cfg
and do the edit.
Consider using :
zebrasrv  -c /home/koha/sites/am123/etc/zebradb/zebra-bibliosedited.cfg
to test
where 10002 will be the port you want to connect to.
Then try to connect with yaz-client
man zebrasrv for more information

it should not allow you to connect without authentication.
Hope that helps.
Henri-Damien LAURENT

>> Thank you.
>> --
>> Altaf Mahmud
>> System Programmer
>> Ayesha Abed Library
>> BRAC University
>> Bangladesh.
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> http://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/
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha

More information about the Koha mailing list