2. Instructions for ISODE-Maintainers
WHOIS
"WHOIS" is a simple program already available at most UNIX workstations and hosts. It is normally used to access the database of users at NIC.DDN.MIL. The instructions below explain how to use WHOIS to access data in the White Pages Pilot X.500 database. These instructions are taken nearly word for word from the "PSI White Pages Pilot Project Administrator's Guide," section 2.8.3.
Choose a machine in your local environment which is running the pilot project software. This machine will offer the white pages service via a network port offering an emulation of the WHOIS service.
On this machine, modify the /etc/services file so that it contains an entry like this:
whitepages 17005/tcp
Next, edit the file /etc/servers so that it has an entry like this:
whitepages tcp $(SBINDIR)in.whitepages
Because most user interfaces to WHOIS, e.g., whois(1c), do not allow the user to specify a special port, you should probably also add this line as well:
whois tcp$(SBINDIR)in.whitepages
If you already have a line for whois in the servers file, then you are already running a WHOIS service, and you should NOT add a second whois line. This machine is not a good choice for running the white pages via WHOIS emulation.
Note that on newer systems derived from Berkeley UNIX, /etc/servers is called /etc/inetd.conf.
The whitepages Command
On those systems which are to access the white pages via the network and not locally (i.e., those systems which are not running the pilot project software), you should determine how the user invokes the WHOIS service via the network. For UNIX systems, you should provide a shell script like this:
: run this script through /bin/sh
exec /usr/ucb/whois -h wp.psi.net "$*"
where the name of a host running the pilot project software is substituted for whitepages, e.g., wp.psi.net. This host must have the files /etc/services and /etc/servers edited as described above.
De
The compressed tar file for "de" can be created by the following sequence of commands. (Note: In the instructions which follow, <toplevel> indicates the top level of the ISODE distribution.)
cd <toplevel>/others/quipu/uips
Edit the de/detailor file to set the following options:
dsa_address: (the address of your DSA)
default_country: (your country)
default_org: (your organization)
cp de/make temp1
Edit the de/make file so that the last line reads as follows:
exec $M TOPDIR=../ -f ../CONFIG.make -f Makefile ${1+"$@"}
tar -cf de-portable.tar de/*
mv temp1 de/make
mv de-portable.tar <aboveETCDIR>
(Here, <aboveETCDIR> is the directory immediately above ETCDIR.)
cd <aboveETCDIR>
tar -rf de-portable.tar etc/dsaptailor etc/isomacros
etc/oidtable.at etc/oidtable.oc etc/oidtable.gen
mv de-portable.tar <toplevel>
cd <toplevel>
cp config/CONFIG.make .
tar -rf de-portable.tar h/* h/quipu/* util/* CONFIG.make
libdsap.a libisode.a
rm CONFIG.make
compress de-portable.tar
The compressed tar file for de will appear in the top level directory of the ISODE distribution as "de-portable.tar.Z".
Dixie/Ud
The latest version of the dixie distribution is available by anonymous ftp at "terminator.cc.umich.edu" in the "x500" directory. The file is named dixie-<version #>.tar.Z, where <version #> is the number of the latest release.
In order for anyone to use dixie clients, there must be a running dixie server which they can connect to. To set up the dixie server, the DSA manager should take the dixie package and explode/uncompress it in the top level directory of the ISODE distribution. This is done with the following command:
uncompress < dixie-<version #>.tar.Z | tar xf -
where <version #> is the version number of your dixie package. This will create a dixie-<version #> directory. The dixie server, dixie library and any DUAs included with the package will be in this directory branch. Software to support dixie on machines other than UNIX is included as well. This software is stored in the directories "dos", "macintosh" and "vms". UNIX users should feel free to delete these directories and all their contents. Commands of the form:
rm -r <dirname>
where <dirname> is the directory name, should accomplish this task.
In the top level of the dixie distribution is a file called "Makefile". The file holds several variables which should be configured to match those of your ISODE environment.
BINDIR ISODEINCLUDEDIR
ETCDIR LIBDIR
INCLUDEDIR ISODELIBS
INSTLIBDIR
In the "server" directory below the top level of the dixie distribution is another "Makefile" file. Configure the ISODELIBS variable in this file, as well.
After setting these variables, cd to the top level of the dixie distribution and type the following commands:
make depend-server
make server-only
make inst-server
This will create and install the dixie server in your ETCDIR. cd to the ETCDIR and type "dixie" to start the server.
Doog
The compressed tar file for "doog" can be created by the following sequence of commands. (Note: In the instructions which follow, <toplevel> indicates the top level of the ISODE distribution.)
cd <toplevel>/others/quipu/uips
cp doog/make temp1
Edit the doog/make file so that the last line reads as follows:
exec $M TOPDIR=../ -f ../CONFIG.make -f Makefile ${1+"$@"}
cp doog/query/make temp2
Edit the doog/query/make file so that the last line reads as follows:
exec $M TOPDIR=../../ -f ../../CONFIG.make -f Makefile
${1+"$@"}
tar -cf doog-portable.tar doog/*
mv temp1 doog/make
mv temp2 doog/query/make
mv doog-portable.tar ../../..
cd ../../..
cp config/CONFIG.make .
tar -rf doog-portable.tar h/* h/quipu/* util/* CONFIG.make
libdsap.a libisode.a
rm CONFIG.make
mv doog-portable.tar <aboveETCDIR>
(Here, <aboveETCDIR> is the directory immediately above ETCDIR.)
cd <aboveETCDIR>
tar -rf doog-portable.tar etc/dsaptailor etc/isomacros
etc/oidtable.at etc/oidtable.gen etc/oidtable.oc
compress doog-portable.tar
The compressed tar file for doog will appear in the directory immediately above ETCDIR as "doog-portable.tar.Z".