Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 1996 17:07:20 -0500 (EST)
From:      jlrobins@zappa.cs.uncc.edu (James Robinson)
To:        tam@cd.iidpwr.com (Tony Tam)
Cc:        questions@freebsd.org
Subject:   Re: NIS slave server
Message-ID:  <9602112207.AA09720@zappa.cs.uncc.edu>
In-Reply-To: <Pine.BSF.3.91.960210155010.13305A-100000@cd.iidpwr.com> from "Tony Tam" at Feb 10, 96 03:50:40 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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





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