From owner-freebsd-isp Mon Jul 28 13:00:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA28601 for isp-outgoing; Mon, 28 Jul 1997 13:00:20 -0700 (PDT) Received: from terror.hungry.com (fn@terror.hungry.com [169.131.1.215]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA28579 for ; Mon, 28 Jul 1997 13:00:08 -0700 (PDT) Received: (from fn@localhost) by terror.hungry.com (8.8.6/8.8.4) id NAA28851; Mon, 28 Jul 1997 13:00:05 -0700 (PDT) To: freebsd-isp@freebsd.org Subject: Re: NIS References: From: Faried Nawaz Date: 28 Jul 1997 13:00:05 -0700 In-Reply-To: gary@tbe.net's message of 27 Jul 1997 21:06:43 -0700 Message-ID: Lines: 19 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk gary@tbe.net (Gary D. Margiotta) writes: We are trying to set up NIS here, and we already have the ORA Managing NFS and NIS book. The problem(?) is that in the book, it says to use ypinit to build the maps and such...we have searched the system, and all documentation we can find and haven't seen anything about ypinit on a FreeBSD system. Is there ypinit, or does one of the other yp-functions such as ypserve or ypmkdb take over this function. Any help would be much appreciated. TIA! Are you setting up a master NIS server, or a slave? For a master, you need to copy /var/yp/Makefile.dist to /var/yp/Makefile and edit it, and then run 'make'. That's the least work you have to do For a slave, the only way I know of transferring maps over is by running ypxfr manually for the NIS db files that can be found in the NIS master's /var/yp/, and then starting ypserv. After the initial transfer, yppush on the master takes care of everything.