From owner-freebsd-questions Sun Feb 11 14:19:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA01190 for questions-outgoing; Sun, 11 Feb 1996 14:19:14 -0800 (PST) Received: from zappa.cs.uncc.edu (zappa.cs.uncc.edu [152.15.35.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA01184 for ; Sun, 11 Feb 1996 14:19:09 -0800 (PST) Received: by zappa.cs.uncc.edu (5.x/SMI-SVR4) id AA09720; Sun, 11 Feb 1996 17:07:21 -0500 From: jlrobins@zappa.cs.uncc.edu (James Robinson) Message-Id: <9602112207.AA09720@zappa.cs.uncc.edu> Subject: Re: NIS slave server To: tam@cd.iidpwr.com (Tony Tam) Date: Sun, 11 Feb 1996 17:07:20 -0500 (EST) Cc: questions@freebsd.org In-Reply-To: from "Tony Tam" at Feb 10, 96 03:50:40 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Here's how I run a NIS slave server, with a SGI as the master: The freebsd box was a client of the SGI. I then started the server on the bsd box, then told the SGI that it had a slave server (read the yp / nis man pages on the platform of the master server -- you need to add the new server's name to a file within /var/yp/). I then had the SGI force update the maps, so that it updated the (empty) maps on the bsd box. Keep no NIS source datafiles on the bsd box. The pertinant parts of my /etc/sysconfig: nis_clientflags="-ypset" nis_ypsetflags="localhost" nis_serverflags="" Don't run yppasswd on the slave. When you reboot the box, you should see that it is ypbound to itself, and all should be cool. James James Robinson Phone: (704) 547-4876 Department of Computer Science FAX: (704) 547-3516 UNC Charlotte email: jlrobins@uncc.edu Charlotte, NC 28223-0001 System Administrator