Skip site navigation (1)Skip section navigation (2)
Date:      28 Jul 1997 13:00:05 -0700
From:      Faried Nawaz <fn@Hungry.COM>
To:        freebsd-isp@freebsd.org
Subject:   Re: NIS
Message-ID:  <lwafj7t0ai.fsf@terror.hungry.com>
In-Reply-To: gary@tbe.net's message of 27 Jul 1997 21:06:43 -0700
References:  <Pine.BSF.3.95q.970727233431.4404A-100000@lightning.tbe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<domainname>, and then starting ypserv.
After the initial transfer, yppush on the master takes care of
everything.



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