*BSD News Article 99509


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news.he.net!news-feed.inet.tele.dk!uninett.no!nordbo
From: nordbo@bolinux2.hit.no (Bjorn Nordbo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problems getting the NIS client to work properly
Date: 12 Jul 1997 15:28:07 GMT
Organization: UNINETT news service
Lines: 31
Message-ID: <slrn5sf8ka.r74.nordbo@bolinux2.hit.no>
Reply-To: nordbo@studbo.hit.no
NNTP-Posting-Host: bolinux2.hit.no
X-Newsreader: slrn (0.9.3.2 UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44315

I have tried to find any documentation that covers NIS setup, but
without luck...

If I just changes NO to YES for the "nis_client_enable" in /etc/rc.conf,
it doesn't work at all. No response for ypcat, and ypwhich complains 
that the domain is not bound, which seems to make some sense. 

If I use this config:

nis_client_enable="YES"
nis_client_flags="-ypsetme"
nis_ypset_enable="YES"
nis_ypset_flags="ournisserver"

both ypcat and ypwhich will work for some time (not logins however),
but after 3-4 hours something fails and it starts writing this to the
syslog about every minute:

Jul 10 14:19:25 hostname ypbind[2358]: NIS server [123.456.789.10] for\
domain "tdh.no" not responding

The NIS server is working fine, and the same problems also occours when
I am using one of the slave servers.

The NIS servers are SunOS boxes on different network segments, the
FreeBSD box i version 2.2.2.

All help are greatly appreciated!

-- 
Bjorn Nordbo - nordbo@studbo.hit.no