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

THIS IS PRE-ALPHA CLASS SOFTWARE! DO *NOT* USE IN PRODUCTION SYSTEMS!

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

It can currently only handle a subset of the YP protocol.
(namely the DOMAIN, DOMAIN_NONACK and MATCH queries).

FIRST, NEXT and ALL should be next to be implement.

Someday when I feel for it...

Databases should be stored in /var/yp/<domainname>/. Use the "dbadd"
program to create/fill "map" databases with entries. I'll leave it
up to you as an exercise to create a Makefile ala Sun to populate
the maps.

Example:

mkdir /var/yp/lysator.liu.se.
cd /var/yp/lysator.liu.se.
/usr/lib/yp/dbadd protocols.byname udp "udp 17 UDP # The UDP/IP Protocol"
/usr/lib/yp/dbadd protocols.byname tcp "tcp 6 TCP # The TCP/IP Protocol"
/usr/lib/yp/dbadd passwd.byname pen "pen:gds#$%gdser:121:30:Peter Eriksson:/users/pen:/bin/tcsh"

/Peter <pen@lysator.liu.se>

