From owner-freebsd-questions Sat Nov 2 11:37:54 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA17476 for questions-outgoing; Sat, 2 Nov 1996 11:37:54 -0800 (PST) Received: from dude.cyberbeach.net (dude.cyberbeach.net [205.150.79.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA17471 for ; Sat, 2 Nov 1996 11:37:51 -0800 (PST) Received: (from kurt@localhost) by dude.cyberbeach.net (8.7.5/8.7.3) id OAA26922 for freebsd-questions@freebsd.org; Sat, 2 Nov 1996 14:39:33 -0500 (EST) Date: Sat, 2 Nov 1996 14:39:33 -0500 (EST) From: Kurt Schafer Message-Id: <199611021939.OAA26922@dude.cyberbeach.net> To: freebsd-questions@freebsd.org Subject: Converting an NIS client into a slave server Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Man, NIS is not the best documented service in the world when it comes to firing up slave servers. There doesn't seem to be any documented flag. I have 3 machines I want to NIS. (actually they are NIS'ing) MachineA is acting as the NIS master and B and C are running as clients currently. I want to set up Machine B as a slave server rather than a client. On the Master, I edited the ypservers file to look like this MachineA MachineB Then did a make to update the ypservers map in the /var/yp/domainname directory. I also commented out NOPUSH=TRUE to enable propogation of the maps. On machine B i removed the nis_clientflags, and set the nis_serverflags to "" (which loads up YPSERV) A make from the master results in the following error. "yppush: could not read ypservers map: 3 can't bind to server which serves this domain" Can anybody shed some light ? I'm guessing I have the format of the ypservers file incorrect. I just put the names of the machines I wanted to be servers on seperate lines. TIA -Kurt