
This is the attempt at an YP (NIS version 2) Server for Linux, but
also runs under other OS like SunOS 4.1.x, Solaris 2.x.

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 "makedbm"
program to create/fill "map" databases with entries. 

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 do 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 a DNS server. The default
routines in the normal libc libraries often try to check the
YP servers first -> causing a nice loop...
For Linux, the functions in dns_hosts.c will do that correct, so
you could enable this feature. But this functions will not compile
under other OS then Linux. Under SunOS and Solaris you could use
the resolv+ library, I don't know if they work on other Systems.
DNS lookups is enabled by using the "-dns" flag.

There is a  implementation of the "securenets" feature. This is the
function in "access.c" called "is_valid_host()", that all YP functions 
call to authorize the calling host. See the file "README.secure" for 
more information.

It exists a mailing list for NYS developement where new versions of 
the NYS YP Server and the NYS NSL Library will be announced. 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.

This server has been compiled on Linux (1.3.x), SunOS 4.1.3 & SunOS 5.x.
Under Linux, I have used gcc 2.7.2, binutils 2.6.0.10 and libc 5.3.6.
I know there are problems with libc 5.0.9. You should at least use
libc 5.2.18 or greater.

Original Author: Peter Eriksson <pen@lysator.liu.se>, 6 Oct 1995.
New Maintainer: Thorsten Kukuk <kukuk@uni-paderborn.de>, 15 Mar 1996.