Linux NIS client to Solaris NIS server on another subnet
Paul Lussier
p.lussier at comcast.net
Wed Jan 25 21:46:01 EST 2006
Tom Buskey <tom at buskey.name> writes:
> 1. (*) text/plain ( ) text/html
>
> I've been trying to get this setup and failing. I'm able to get a Solaris
> (8 and 10) client to work.
> Linux is FC 4 fwiw.
>
> nismaster is xxx.xxx.48.38
> client is xxx.xxx.54.11
> There's a router between them and the 54 subnet can't transmit broadcasts.
> ping nismaster works
The 54 subnet can't transmit broadcasts? Do you mean the router
between the 48 and the 54 won't transmit a broadcast on one to the
other?
> $ /etc/init.d/ypbind start fails
>
> So I go manual:
> $ /usr/sbin/ypbind -ypsetme
> $ ypset nistmaster
> $ ypwhich
> can't yp_bind: Reason: Domain not bound
Yeah, I vaguely remember this problem. It's a few years since I've
played with NIS, but I would have expected the linux implementation to
have matured by now...
Have you tried running ypbind with -debug? Also, I vaguely remember
that despite the documentation, you *had* to have a valid /etc/yp.conf
file, which explicitly stated the server you wanted to bind to. Which
sort of defeats the purpose of the -broadcast or -ypset options. At
the very least, make sure your yp.conf file has the something like the
following line in it:
domain nisdomain broadcast
I've always thought the concept of having a yp.conf very foreign
coming from the Sun world where NIS "just worked", and was actually
more difficult to *disable* :)
HTH,
--
Seeya,
Paul
More information about the gnhlug-discuss
mailing list