Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 13:37:19 +0100 (CET)
From:      "O. Hartmann" <ohartman@ipamzlx.physik.uni-mainz.de>
To:        freebsd-questions@freebsd.org
Subject:   NIS/YP domain wont work
Message-ID:  <Pine.BSF.4.21.0101041322400.11226-100000@ipamzlx.physik.uni-mainz.de>

next in thread | raw e-mail | index | archive | help
Dear Sirs.
Maybe this is a kind of "newbie" question, but it seems really serious
to me in a way I can not figure out how and why.

I need to set up a secure NIS/YP environment for our small institute.
For this reason, I have two servers already set up, one of them should play 
the role of the master server, the other one has to play the role of the slave
and in the near future I will set up a third slave machine to provide a
general YP service for all our FreeBSD clients.

I consulted the handbook for introductions and I read some additional stuff and
all sounds not that hard as it is supposed to be shown to me. 

On the master server all things run all right. ypserv is started, additionaly,
I use the rpc.ypxfrd daemone to speed up map distribution. These are the daemons
on the master server side:

  167  ??  Is     0:00.04 ypserv -n
  169  ??  I      0:00.04 rpc.ypxfrd
  171  ??  Is     0:00.00 rpc.yppasswdd -f -s -i
  175  ??  Is     0:00.01 rpc.ypupdated

/var/yp/securenets is set up correctly. /var/yp/ypservers contains the names
of all servers. When starting a refresh, the make-script tells me all things 
are going all right except the fact that it can not build up an UDP handle
to the slave server, because this server is unknown. Well, this server is 
not unknown, it's my slave machine running rpc.ypxfrd on it in addition to
ypserv and a correctly set up domainname. /var/yp/securenets is set up correctly
and again, on the slave side /var/yp/ypservers contains the names of all servers,
too. Maybe this is uneccessary, but so I think I avoid fogetting something.

Because I use inetd with mode "-wW" I set up /etc/hosts.allow n that way,
that communication within my local network is allowed and passed through. The
same thing is assigned to the IP filtering facility: local tcp and udp are
passed unfiltered through the LAN of our institute. 

But it stills seems that the master server is unable to build a UDP connection
to the slave, it tries it, but it fails due "host not known". I use two other
slave names in /var/yp/ypservers which are not alraedy connected to the network
and the failure of connecting to these unknown machines seems to be different
from the failure I receive which is produced when accessing the present slave,
so I suspect an UDP connection problem, caused by some security facilities.
But I have no glue what the reason could be.

Hope there is someone with the "great glue" ...

thanks in advance,

oliver


-
MfG 
O. Hartmann
-------------------------------------------------------------------
ohartman@ipamzlx.physik.uni-mainz.de

Klimadatenserver-Abteilung des IPA 
IT Netz- und Systembetreuung
Johannes Gutenberg-Universitaet Mainz
Becherweg 21
D-55099 Mainz

Tel: +496131/3924662 (Maschinensaal)
Tel: +496131/3924144
FAX: +496131/3923532



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?Pine.BSF.4.21.0101041322400.11226-100000>