[Yazlist] Yaz to connect OCLC

Pierre Roberge urobepi at gmail.com
Mon Jul 7 15:36:20 CEST 2008


Yessss. It worked. As you suggested, the inclusion of the 'charset'
definition did the job. Thank you so much for this quick response.

Pierre

2008/7/7 Larry E. Dixson <ldix at loc.gov>:

> Pierre,
> Clearly, the OCLC server is not accepting your ID/password.
> If the ID and password work in BookWhere, they must be valid.
>
> Just for kicks, try inserting a charset command following
> your authentication command and see if that makes a
> difference.   (See also the Sun session below.)
>
>    auth 000-000-000/password
>    charset utf8
>    open zcat.oclc.org:210/OLUCWorldCat
>
> Larry
>
> -------------------------------------------------------
> Sun session example
> -------------------------------------------------------
>
> Z> auth 000-000-000/password
> Authentication set to Open (000-000-000/password)
> Z> open zcat.oclc.org:210/OLUCWorldCat
> Connecting...OK.
> Sent initrequest.
> Target closed connection         [auth. not accepted]
>
>
> Z> auth 000-000-000/password
> Authentication set to Open (000-000-000/password)
> Z> charset utf8
> Character set negotiation : utf8
> Z> open zcat.oclc.org:210/OLUCWorldCat
> Connecting...OK.
> Sent initrequest.
> Connection accepted by v3 target.
> Init response contains 2 otherInfo units:
>  1: otherInfo unit contains unsupported otherInfo unit external 0
>  2: otherInfo unit contains unsupported otherInfo unit external 22
> Options: search present scan extendedServices namedResultSets
> Elapsed: 0.087608
> Z> f @attr 1=9 @attr 4=1 2008000123
> Sent searchRequest.
> Received SearchResponse.
> Search was a success.
> Number of hits: 1, setno 1
> Result Set Status: 0
> records returned: 0
> Elapsed: 0.058936
> Z> list_all
> Connected to         : zcat.oclc.org:210/OLUCWorldCat
> auto_reconnect       : off
> auto_wait            : on
> Authentication       : psOpen
>    Open string      : 000-000-000/password
> Neg. Character set   : `utf8'
> Bases                : OLUCWorldCat
> CCL file             : default.bib
> CQL file             : /usr/local/share/yaz/etc/pqf.properties
> Query type           : prefix (RPN sent to server)
> Named Result Sets    : on
> ssub/lslb/mspn       : 0/1/0
> Format               : usmarc
> Schema               : not set
> Elements             :
> APDU log             : off
> Record log           : off
> Other Info:
> Z> close
> Sent close request.
> Target has closed the association.
> Reason: appctx, message: NULL
> AElapsed: 0.037254
>
>
> ----------------------------------------------
> Windows client session example
> (never accessed OCLC using utf8 character
> set negotiation)
> ----------------------------------------------
>
> Z> auth 000-000-000/password
> Authentication set to Open (000-000-000/password)
> Z> open zcat.oclc.org:210/OLUCWorldCat
> Connecting...OK.
> Sent initrequest.
> Connection accepted by v3 target.
> UserInformationfield:
> {
>    OID: 1 2 840 10003 10 1000 17 1
>    {
>        ANY (len=206)
>    }
> }
> OCLC UserInformation:
> {
>    motd 'Connected to OCLC Connexion Zgate Server session
> cnxs10.prod.oclc.org-
> 2210-ficyrguo-ccp8jn at Mon Jul 07 07:02:06 EDT 2008'
>    dblist {
>        'olucworldcat'
>        'oclc_oluc_holdings'
>        'oclcauthoritieslc'
>        'oclcinstitutionrecords'
>    }
> }
> Options: search present scan extendedServices namedResultSets
> Z> f @attr 1=9 2008000123
> Sent searchRequest.
> Received SearchResponse.
> Search was a success.
> Number of hits: 1, setno 1
> Result Set Status: 0
> records returned: 0
> Z> list_all
> Connected to         : zcat.oclc.org:210/OLUCWorldCat
> auto_reconnect       : off
> auto_wait            : on
> Authentication       : psOpen
>    Open string      : 000-000-000/password
> Bases                : OLUCWorldCat
> CCL file             : default.bib
> CQL file             : /usr/local/share/yaz/etc/pqf.properties
> Query type           : prefix (RPN sent to server)
> Named Result Sets    : on
> ssub/lslb/mspn       : 0/1/0
> Format               : usmarc
> Schema               : not set
> Elements             :
> APDU log             : off
> Record log           : off
> Other Info:
> Z> close
> Sent close request.
> Target has closed the association.
> Reason: (null), message: NULL
>
>
>
> On Mon, 7 Jul 2008, Pierre Roberge wrote:
>
> > Hi,
> >
> > We are trying to configure a YAZ client to connect OLUCWorldcat Z39.50
> > database. Seems that we are missing something, we are always rejected by
> the
> > server. On an other hand, when we use a Bookwhere client with the same
> > user/pass authentication, it goes OK. Are there some specific
> configuration
> > to be made for the Yaz client other than we have done.
> >
> > Please note that I have tried several combinations for the YAZ
> > authentication string:
> >
> > 'auth username/password'
> >
> > And
> >
> > 'auth username  password'
> >
> > None of them work as you can see in the following example.
> >
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Z> open zcat.oclc.org:210/OLUCWorldcat
> > Connecting...OK.
> > Sent initrequest.
> > Target closed connection                  [*************]
> >
> >
> > Z> list_all
> > Not connected to     : zcat.oclc.org:210/OLUCWorldcat
> > auto_reconnect       : off
> > auto_wait            : on
> > Authentication       : IdPass
> >     Login User       : username
> >     Login Group      :
> >     Password         : password
> > Bases                : OLUCWorldcat
> > CCL file             : default.bib
> > CQL file             : /usr/local/share/yaz/etc/pqf.properties
> > Query type           : prefix (RPN sent to server)
> > Named Result Sets    : off
> > ssub/lslb/mspn       : 0/1/0
> > Format               : usmarc
> > Schema               : not set
> > Elements             :
> > APDU log             : off
> > Record log           : off
> > Other Info:
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Any help you may provide would be greatly appreciated.
> >
> > Best regards,
> > --
> > Pierre Roberge
> > Directeur - Technologies de l'information
> > Service des bibliothèques
> > Université du Québec à Montréal
>
>
> ------------------------------------------------------------
> Larry E. Dixson                    Internet:    ldix at loc.gov
> Network Development and MARC
>   Standards Office, LA327
> Library of Congress                Telephone: (202) 707-5807
> Washington, D.C.  20540-4402       Fax:       (202) 707-0115
>
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlist at lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>
>


-- 
Pierre Roberge
Directeur - Technologies de l'information
Service des bibliothèques
Université du Québec à Montréal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.indexdata.dk/pipermail/yazlist/attachments/20080707/82ade5e0/attachment-0001.htm 


More information about the Yazlist mailing list