From owner-freebsd-stable Sun Feb 18 8:51:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dirac.th.physik.uni-bonn.de (dirac.th.physik.uni-bonn.de [131.220.161.119]) by hub.freebsd.org (Postfix) with SMTP id 0344837B401 for ; Sun, 18 Feb 2001 08:51:47 -0800 (PST) Received: (qmail 64021 invoked from network); 18 Feb 2001 16:51:45 -0000 Received: from merlin.th.physik.uni-bonn.de (131.220.161.121) by dirac.th.physik.uni-bonn.de with SMTP; 18 Feb 2001 16:51:45 -0000 Received: (qmail 79106 invoked by uid 145); 18 Feb 2001 16:51:45 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 18 Feb 2001 16:51:45 -0000 Date: Sun, 18 Feb 2001 17:51:45 +0100 (CET) From: Jan Conrad To: "O. Hartmann" Cc: Subject: Re: Is NIS/YP buggy or broken? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Feb 2001, O. Hartmann wrote: > Dear Sirs. > I have problems with an installation of NIS/YP and it seems to be > some kind of nasty to me. > My boxes are running all FreeBSD 4.2-STABLE and at this moment I > switched off all IP filters, snort or inetd's option "-wW" to avoid > blocking some services. > > I installed one machine as a master server and this worked fine. > This machine runs "ypserv", "ypbind -s -S XXXXXX,localhost (or name of host)", > "rpc.ypxfrd" and "rpc.yppasswdd". At first I tried also to run "keyserv" > and "rpc.ypupdatedd" due to needs of secure RPC. oops - maybe you should try the real hostname (as found in you /etc/hosts file!) ypbind -s -S XXXXXX, instead of localhost. What do your logs say? Consider activating all.log in /etc/syslog.conf: *.* /var/log/all.log > > Main problem is, that ypbind is not able to connect to the local server > "ypserv" or when creating/changing new maps, the master server can not > contact its slave servers, no matter why. The error is always that it > could not create an UDP handle or "no such host or address" or similar. > What's wrong? When running inetd -lwW I assured in /etc/hosts.allow all > services like ypserv, rpc.XXX, keyserv and yppush,ypxfr to be accessd > from the local net, also the IP filter is transparent for all packets > on the lokal net. But it is always the same, no contact to the master > or slave servers. > > On hosts which act as clients could never be initiated a service connection to > master or slave server (all machines are on the same network). > > I tried the simplest installation described in the handbook - without success, > the same behaviour (also on new machines without any specialized security installaions). > I regret that SecureRPC is not mentioned further in the handbook (about how to use > keys etc, maybe this is focus for the malfunction anywy). > > So, at last I would like to as whether the NIS/YP implementation on FreeBSD is > broken or not? > > Thanks, > Oliver regards Jan > > -- > MfG > O. Hartmann > > ohartman@mail.physik.uni-mainz.de > ---------------------------------------------------------------- > IT-Administration des Institut fuer Physik der Atmosphaere (IPA) > ---------------------------------------------------------------- > Johannes Gutenberg Universitaet Mainz > Becherweg 21 > 55099 Mainz > > Tel: +496131/3924662 (Maschinensaal) > Tel: +496131/3924144 > FAX: +496131/3923532 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > -- Physikalisches Institut der Universitaet Bonn Nussallee 12 D-53115 Bonn GERMANY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message