[Net-z3950] User-Information-Field in SimpleServer?

Sebastian Hammer quinn at indexdata.com
Thu Mar 10 21:02:54 CET 2005


SimpleServer already supports the diagnostic format you came across -- just 
set an error code before finising the init handler. As for the motd/dblist, 
it might make more sense to implement a ZeeRex server 
(http://zeerex.z3950.org/). I believe that this is the closest thing to an 
official standard that covers most of what yuou want.  :-)


At 05:21 PM 3/10/2005 +0000, Ben Soares wrote:
>Hi all,
>Just wondering if there's an easy way to add anything to the
>User-Information-Field in an INIT response in Net::Z3950::SimpleServer, or
>will I have to wait for Net::Z3950::SlightlyMoreComplexServer? ;)
>My aim is to provide an MOTD and a dblist available to an authenticated user
>(the list will vary quite a lot depending on who logs in) and I was
>thinking of using the OCLC-UserInformation construct.  Any other methods
>would be considered too.  I've already done a rudimentary IR-Explain---1 db
>which only provides records for the dbs available to the logged on user.
>Oh, while I'm here, I've also been looking for a set of diagnostics for
>rejecting a connection in the INIT response based on "incorrect
>username/password," "no available resources," "too many users," et c.
>Anyone know of any?
>Ben Soares                                         tel: +44 (0)131-651 1238
>EDINA, Edinburgh University Data Library           fax: +44 (0)131-650 3308
>Main Library Building, George Square            email:  ben.soares at ed.ac.uk
>Edinburgh EH8 9LJ, Scotland, UK                    www: http://edina.ac.uk/
>"Hmmm, that makes no sense to me...
>  But then you are very small, perhaps you're right." -- Treebeard
>Net-z3950 mailing list
>Net-z3950 at indexdata.dk

Sebastian Hammer, Index Data, www.indexdata.com
Direct phone: (603) 209-6853
Toll-free: (866) 489-1568, Fax: (603) 357-1813

More information about the Net-z3950 mailing list