SUMMARY NIS master/slave weirdness

From: Koos van den Hout <koos_at_kzdoos.xs4all.nl>
Date: Mon Jan 20 2003 - 04:05:52 EST
My question:

> Executive summary:
>
> I made a mistake on a NIS slave, which turned it into a master, and now the
> only way to force it back into slave mode is to make it a client of the
> master and not if itself. Which is not too good performance wise since it
> is also a mailserver.

Thanks to:

Dennis F. Morse
Luc I. Suryo
Darren Dunham

The basic answer is:

- Lose the Makefile. cd /var/yp; mv Makefile Makefile.DONOTUSE

- re-initialize the NIS slave using 'ypinit -s <master>'

Which I did, and which made things work again as wished since the NIS slave
is now a client of itself again and still accepting updates.

                                               Koos van den Hout

--
Koos van den Hout,           PGP keyid RSA/1024 0xCA845CB5 via keyservers
koos@kzdoos.xs4all.nl        or DSS/1024 0xF0D7C263
-?)
Fax +31-30-2817051              Visit the site about books with reviews
/\\
http://idefix.net/~koos/                http://www.virtualbookcase.com/
_\_V

[demime 0.99c.7 removed an attachment of type application/pgp-signature]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Jan 20 04:09:35 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:01 EST