This is a first attempt at an YP (NIS version 2) Server.

It is part of the NYS Project. See the file COPYING for copying
restrictions. It is available under the GNU General Public License.

Databases should be stored in /var/yp/<domainname>/. Use the "dbload"
program to create/fill "map" databases with entries. 

The file "ypMakefile" should be  installed in /var/yp/<domainname>,
"dbload" and "mknetid" in /usr/lib/yp. Then do "cd /var/yp; make".

Start the YP Server with "ypserv" (or "ypserv -debug /foo/bar"
to run in debug mode using the database directory /foo/bar).

The server can optionally to DNS lookups for hosts not found in the
regular YP hosts map. But beware that for this to work then you
*must* link the YP server to a library where the gethostbyname()
and gethostbyaddr() routines always talk to an YP server. The default
routines in the normal libc libraries often try to check the
YP servers first -> causing a nice loop... The DNS code is not
very optimal and should be redone completely (and moved to a
separate process for performance reasons). DNS lookups is enabled
by using the "-dns" flag.

There is a first stub at implementing the "securenets" feature in
that there is a function in "server.c" called "is_valid_host()"
that all YP functions call to authorize the calling host. Currently
it always gives permission.

There is a mailing list for NYS developement where I announce new
version of the NYS YP Server and the NYS NSL Library. Send email
to: info-nys-request@lysator.liu.se and ask to be added. The mailing
list itself is at: info-nys@lysator.liu.se.

Author: Peter Eriksson <pen@lysator.liu.se>, 13 July 1994.

