SUMMARY: NIS across networks

From: Martin Rootes (M.Rootes@sheffield-city-poly.ac.uk)
Date: Mon Jun 01 1992 - 11:19:52 CDT


Dear all,

   Firstly apologies for the original message which somehow got truncated
before it left here and was missing the vital part: The Question!
Well spotted by:-

  Fabrice Guerini fabrice@sj.ate.slb.com
  Terry Rosenbuam tlr@toy.rad.msu.edu
  Hal Stern stern@sunne.East.Sun.COM

However, maximum points and a big thank you to the following people who guessed
what the question was, and supplied an answer :-

  Brent Alan Wiese brent@crick.ssctr.bcm.tmc.edu
  BirgerA. Wathne birger@vest.sdata.no
  Keith McNeill mcneil@devon.co.uk
  Perry Hutchinson Perry_Hutchinson.portland@xerox.com

The question was how I could get NIS working between a Master server and a
Slave server on two seperate networks (connected via 3 routers). The following
method seems to work:-

    1) Run ypinit -m on the Master server - include the Slave server in the
        list of slaves.

    On the Slave server:-

    2) Kill any yp processes running on the Slave server.

    3) run ypbind with the ypsetme option

            /usr/etc/ypbind -ypsetme

    4) run ypset to bind to the yp Master server

            /usr/etc/yp/ypset <Master-YP-Server>

    5) run ypinit -s <Master-YP-Server>

    6) kill the ypbind process and restart without the ypsetme option

            /usr/etc/ypbind

    7) Start ypserv

            /usr/etc/ypserv

The above steps should work.

   Martin.
------------------------------------------------------------------------------
Martin Rootes - Senior Systems Programmer/Analyst - Sheffield City Polytechnic
Email : M.Rootes@scp.ac.uk
Disclaimer: Sheffield City Polytechnic has no opinions, the ones above are
                mine.
------------------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:43 CDT