From owner-cvs-usrsbin Thu Oct 24 11:58:47 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA14300 for cvs-usrsbin-outgoing; Thu, 24 Oct 1996 11:58:47 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA14281; Thu, 24 Oct 1996 11:58:29 -0700 (PDT) Date: Thu, 24 Oct 1996 11:58:29 -0700 (PDT) From: Bill Paul Message-Id: <199610241858.LAA14281@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv Makefile.yp yp_access.c yp_dblookup.c yp_extern.h yp_server.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/10/24 11:58:28 Modified: usr.sbin/ypserv Makefile.yp yp_access.c yp_dblookup.c yp_extern.h yp_server.c Log: Add support for handling the YP_SECURE and YP_INTERDOMAIN keys from any maps that may have them. If the YP_SECURE key is present, ypserv will only allow access to the map from clients on reserved ports. If the YP_INTERDOMAIN key is present, the server will do DNS lookups for hostnames that it can't find in hosts.byname or hosts.byaddr. This is the same as the -d flag (which is retained for backwards compatibility) but it can be set on a per-map/per-domain basis. Also modified /var/yp/Makefile to add YP_INTERDOMAIN to the hosts.* maps and YP_SECURE to master.passwd.* maps by default. Revision Changes Path 1.13 +12 -1 src/usr.sbin/ypserv/Makefile.yp 1.11 +11 -0 src/usr.sbin/ypserv/yp_access.c 1.9 +64 -2 src/usr.sbin/ypserv/yp_dblookup.c 1.5 +10 -1 src/usr.sbin/ypserv/yp_extern.h 1.12 +67 -16 src/usr.sbin/ypserv/yp_server.c