From 981369ab5234a8cb305042db7ad61f1e277900b5 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 19 Nov 2001 14:06:11 +0000 Subject: [PATCH] More about authentication. Remove SR references. --- doc/client.xml | 15 +++++++++------ doc/frontend.xml | 41 +++++++---------------------------------- 2 files changed, 16 insertions(+), 40 deletions(-) diff --git a/doc/client.xml b/doc/client.xml index 5ec2cd4..88e7c2b 100644 --- a/doc/client.xml +++ b/doc/client.xml @@ -1,4 +1,4 @@ - + The YAZ client Introduction @@ -114,7 +114,7 @@ Syntax: - [(tcp|osi)':'<[tsel/]]host[:port][/base>] + [(tcp|ssl)':'<[tsel/]]host[:port][/base>] @@ -162,10 +162,10 @@ position given by start a number of records given by number. If - start is not given the client will - fetch from position of the last retrieved record plus 1. If - number is not given one record will be - fetched at a time. + start is not given, then the client + will fetch from position of the last retrieved record plus 1. If + number is not given, then one record will + be fetched at a time. @@ -229,6 +229,9 @@ sent to the server when the open command is issued and the Z39.50 Initialize Request is sent, so this command must be used before open in order to be effective. + A common convention for the authopen string + is that the username - and password is separated by a slash, e.g. + myusername/mysecret. diff --git a/doc/frontend.xml b/doc/frontend.xml index 19729e1..84bb35a 100644 --- a/doc/frontend.xml +++ b/doc/frontend.xml @@ -1,4 +1,4 @@ - + Generic server Introduction @@ -217,8 +217,8 @@ statserv_options_block *statserv_getcontrol(void); enum oid_proto default_proto; - Either PROTO_SR or - PROTO_Z3950. + Either PROTO_Z3950 or + PROTO_SR. Default is PROTO_Z39_50. @@ -776,11 +776,11 @@ typedef struct bend_scan_rr { A listener specification consists of a transport mode followed by a colon (:) followed by a listener address. The transport mode is - either osi or tcp. + either tcp or ssl. - For TCP, an address has the form + For TCP and SSL, an address has the form @@ -792,46 +792,19 @@ typedef struct bend_scan_rr { - For osi, the address form is - - - - [t-selector /] hostname | IP-number [: portnumber] - - - - The transport selector is given as a string of hex digits (with an even - number of digits). The default port number is 102 (RFC1006 port). - - - Examples tcp:dranet.dra.com - osi:0402/dbserver.osiworld.com:3000 + ssl:ssl.enterprise.com:3000 In both cases, the special hostname "@" is mapped to the address INADDR_ANY, which causes the server to listen on any local - interface. To start the server listening on the registered ports for - Z39.50 and SR over OSI/RFC1006, and to drop root privileges once the - ports are bound, execute the server like this (from a root shell): - - - - my-server -u daemon tcp:@ -s osi:@ - - - - You can replace daemon with another user, eg. your - own account, or a dedicated IR server account. - my-server should be the name of your - server application. You can test the procedure with the - yaz-ztest application. + interface. -- 1.7.10.4