Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 1996 14:39:33 -0500 (EST)
From:      Kurt Schafer <kurt@cyberbeach.net>
To:        freebsd-questions@freebsd.org
Subject:   Converting an NIS client into a slave server
Message-ID:  <199611021939.OAA26922@dude.cyberbeach.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611021939.OAA26922>