Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 17:45:32 -0600 (MDT)
From:      "John E. Hein" <jhein@timing.com>
To:        Chris Conrad <rhavyn@syru205-140.syr.edu>
Cc:        freebsd-questions@FreeBSD.org
Subject:   2 questions
Message-ID:  <14322.42140.785597.644248@taz.timing.com>
In-Reply-To: <19990929171202.A8954@syru205-140.syr.edu>
References:  <19990929171202.A8954@syru205-140.syr.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Conrad wrote at 17:12 -0400 on Sep 29:
 > 1. NIS.  The linux box is running ypserv-1.3.6 (according to the
 >   rpm -q output).  It can bind to itself.  The problem is that the
 >   FreeBSD box will not connected to the ypserv on the linux box.
 >   I have tried letting it use broadcasts, using -S to specify the
 >   machine and have tried using only a secure port.  ypbind gives no
 >   error message, just returns the prompt.  ypwhich, however just hangs.
 >   Oddly, rpcinfo -p either by itself or rpmcinfo -p localhost also hangs
 >   (it seems alot of network apps including telnet and ftp have problems
 >   with localhost).  /etc/hosts has localhost, the name of the FreeBSD
 >   box and the linux gateway all specified.  rpcinfo -p <hostname> does
 >   give output and it says that ypbind is running.  Both systems are
 >   using md5 for encryption.  Is there a problem with using an linux
 >   NIS server with FreeBSD, or is this a local problem? Any ideas?

There isn't a problem for us (Linux RedHat 5.2 running ypserv-1.3.6, FreeBSD
 2.x, 3.x & 4.x running ypbind).  Since rpcinfo is hanging, you may want to
 make sure you're running portmap.

On the linux NIS server, we have the following in /etc/yp.conf:
domain our.domain broadcast

I did nothing special on the FreeBSD boxes except put this in /etc/rc.conf:
nis_client_enable="YES"
nisdomainname="our.domain"

Are at least one net interface on the linux box & the freebsd box
 on the same subnet (else the broadcast won't work, of course).

John


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14322.42140.785597.644248>