SUMMARY: NIS bind to localhost

From: Dirk Vleugels (vleugels@do.isst.fhg.de)
Date: Tue Nov 21 1995 - 07:16:20 CST


-----BEGIN PGP SIGNED MESSAGE-----

Content-Type: text/plain; charset=us-ascii

That was a simple solution. And i'm missing some man pages :(

Thanx to:

 bobr@cassie.Sugar-land.Wireline.SLB.COM ( Bob Reardon )
 jgotobed@LPL.Arizona.EDU (Joe Gotobed)
 falcon!auspex!erics@uu6.psi.com (Eric M. Stone)
 mdavis@lcsgold.litton.com (Mark A. Davis-LCS)
 jdr@fns.com.isst.fhg.de (Jim Radcliff)
 rleberle@Auspex.com (Rainer Leberle)
 Reto Lichtensteiger <rali@meitca.com>

The answer:

<> We have a NIS master running on a SunOs 4.1.3. How can i manage that the
<> master will bind to himself, not to a slave server running in the LAN?
<> Is this possible?

The solution:

- From rc.local:

                # Make sure that the NIS server binds to itself.
                # Binding to any other servers might compromise
                # the NIS reliability. `hostname` is not used
                # because it will trigger NIS lookup before NIS
                # is settled.
                #
                if [ -f /etc/security/passwd.adjunct ]; then
                        ypbind -s -ypsetme; echo -n ' ypbind'
                        /usr/etc/yp/ypset 127.0.0.1
                else
                        ypbind -ypsetme; echo -n ' ypbind'
                        /usr/etc/yp/ypset 127.0.0.1
                fi

Voila! No more problems. I would check if this is similar on your machine,
any other setup doesn't make sense (imho). I also re-configured all slave
servers.

Thanx for all hints.

Dirk
- --
"It's 206 ms to Chicago, we've got a full disk of GIFs, half a meg of
 hypertext, it's dark, and we're wearing sunglasses."
                             "Click it." -- <bluesbros@bluesbros.com>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQBVAgUBMLEKRcFFbH0nlrO5AQFqRQIAnNkfg+2KE8mobkRlLMywg8cROiKuRVMy
TQgjOH8ZwECl5ZuQnA6bwA/NXmQZqoYO7w+lrHSAJ1tG2VL0073qjQ==
=HFx+
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:35 CDT