📄 go500.8
字号:
.TH GO500 8C "20 August 2000" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man8/go500.8,v 1.3.12.2 2000/08/20 21:14:31 kurt Exp $.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..SH NAMEgo500 \- Local Gopher index search to X.500 search gateway.SH SYNOPSIS.B LIBEXECDIR/go500 [\-b searchbase] [\-d level] [\-l].B [\-x hostname] [\-c rdncount] [\-f filterfile].B [\-t templatefile].B [\-p port] [\-I].SH DESCRIPTION.I go500is the local gopher index search to X.500 search daemon.It looks like a gopher index server to a gopherclient, translating the search criteria it is given into asearch of a pre-configured portion of the X.500 directory.It uses LDAP to talk to X.500. By default, it listens onport 5555 for connections from gopher clients..LPThe.B go500server can be run either from.BR inetd (8)or as stand-alone server..SH STAND-ALONE OPERATIONTo start.B go500as a stand-alone server, simply start it with no arguments.LP.nf.ft tt LIBEXECDIR/go500.ft.fi.LPIf you would like to start it at boot time add some lines like this tothe.B etc/rc.localor equivalent file:.LP.nf.ft tt if [ -f LIBEXECDIR/go500 ]; then LIBEXECDIR/go500; echo ' go500' fi.ft.fi.SH OPERATION WITH INETDTo arrange to have.B go500started from.BR inetd (8),the Internet protocoldaemon, add a line like the following to your.B /etc/servicesfile, or the equivalent:.LP.nf.ft tt go500 5555/tcp go500.ft.fi.LPNext, add a line like this to your.B /etc/inetd.conffile, or the equivalent:.LP.nf.ft tt go500 stream tcp nowait nobody LIBEXECDIR/go500 go500 -I.ft.fi.LPFor these changes to take effect with inetd, you will probably haveto send it it a HUP signal. See.BR inetd (8)for more details..SH GOPHER CONFIGURATIONThe next step is to configure your local gopher server to have anentry for.BR go500 .With the standard unix gopher server, thiscan be done with a.B .linkfile.A sample.B .linkfile is given below, with the things you shouldchange given in <>'s:.LP.nf.ft tt Name=<Label of your choice> Type=7 Port=5555 Path= Host=<host.running.go500.here>.ft.fi.LPYou may also have to restart your gopher daemon, or remove the.B .cachefile.See.BR gopherd (8)for more details..SH OPTIONS.TP.BI \-b " searchbase"Specify an alternate starting point for searches. The argument shouldbe a Distinguished Name in the form defined by RFC 1485. For example,the DN "o=University of Michigan, c=US" could be given to search theUniversity of Michigan portion of the X.500 tree..TP.BI \-d " level"Turn on debugging as defined by.I level.If this option is specified,.B go500will not fork or disassociate from the invoking terminal. Some generaloperation and status messages are printed for any value of \fIlevel\fP.\fIlevel\fP is taken as a bit string, with each bit corresponding to adifferent kind of debugging information..TP.BI \-f " filterfile"Specify an alternate filter configuration file for use with the.BR ldap_getfilter (3)facility, used by.BR go500 ..TP.B \-lEnable logging of various status and errors to the LOG_LOCAL3 facility viasyslog(8)..TP.BI \-p " port"Specify an alternate port on which to listen for connections..TP.BI \-t " templatefile"Specify an alternate template configuration file foruse with the.BR ldap_init_templates (3)facility, used by.BR go500 ..TP.BI \-c " rdncount"Specify the number of DN components to show for the names and DN attributeswithin entries matching the search..TP.BI \-x " hostname"Specify an alternate host on which the ldap server is running..TP.B \-IRun from.BR inetd (8)..SH NOTESSome implementations of inetd have a small limit on the number of argumentsthat can be specified in the.BR /etc/inetd.conf (5)file. This can causeproblems if you are using.B go500with a lot of arguments..LPThe default values for most of the things you can specify withoptions are configured at compile time in the.B include/ldapconfig.h.editinclude file..SH "SEE ALSO".BR ldap (3),.BR inetd (8),.BR gopherd (8),.BR go500gw (8).SH ACKNOWLEDGEMENTS.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -