From owner-cvs-usrsbin Thu Apr 10 07:12:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA07406 for cvs-usrsbin-outgoing; Thu, 10 Apr 1997 07:12:55 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA07397; Thu, 10 Apr 1997 07:12:53 -0700 (PDT) Date: Thu, 10 Apr 1997 07:12:53 -0700 (PDT) From: Bill Paul Message-Id: <199704101412.HAA07397@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv yp_server.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 97/04/10 07:12:53 Modified: usr.sbin/ypserv yp_server.c Log: Add a sanity test to ypproc_xfr_2_svc(): check that the map and domain in the transfer request actually exist. Technically ypxfr can do this too, but why waste the cycles getting ypxfr off the ground for a transfer we already know is going to fail. Also apply stricter access control rules; ypproc_xfr_2_svc() is in a different class than the normal map access procedures procedures. Revision Changes Path 1.21 +48 -8 src/usr.sbin/ypserv/yp_server.c