From owner-freebsd-questions Tue Jan 1 9:13:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from karma.iats.missouri.edu (karma.iats.missouri.edu [128.206.94.220]) by hub.freebsd.org (Postfix) with ESMTP id 71D4637B41E for ; Tue, 1 Jan 2002 09:13:48 -0800 (PST) Received: (from dooleyr@localhost) by karma.iats.missouri.edu (8.11.6/8.11.6) id g01HGY306426; Tue, 1 Jan 2002 11:16:34 -0600 Date: Tue, 1 Jan 2002 11:16:33 -0600 From: Ryan Dooley To: Thomas Bader Cc: questions@freebsd.org Subject: Re: FreeBSD as NIS slave for a linux box? Message-ID: <20020101111633.A6422@karma.iats.missouri.edu> References: <20011231193137.A3896@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20011231193137.A3896@trash.net>; from thomasb@trash.net on Mon, Dec 31, 2001 at 07:31:38PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have/had a similiar problem with a 4.4-20010808-STABLE box. I had to put a non-Linux NIS server to point my freebsd machine at. Turns out that IRIX did the trick, but I was never able to point a freebsd client at a linux server. Cheers, Ryan > Hi there > > I got two machines. One machine is 'fullmoon', running on > Debian GNU/Linux and the second machine is 'zeus', running > on FreeBSD 4.4-RELEASE. > > fullmoon is my NIS master server. Now I'd like to have zeus > as a NIS slave server. > > On fullmoon, I modified /var/yp/Makefile. So I provide a > master.passwd map now: > > fullmoon:~# ypcat master.passwd.byname > thomasb:REMOVED:2000:2000::0:0:Thomas Bader:/home/thomasb:/bin/zsh > fullmoon:~# ypcat master.passwd.byuid > thomasb:REMOVED:2000:2000::0:0:Thomas Bader:/home/thomasb:/bin/zsh > > Then I setup zeus as it is described in the FreeBSD > handbook. > > But it does not work. I get the following messages in > /var/log/messages: > > -->-->-->-- > Dec 31 17:43:31 zeus ypxfr[16963]: failed to send 'clear' to local ypserv: RPC: Timed out > Dec 31 17:43:31 zeus ypserv[187]: couldn't find master for map master.passwd.byname@home.t-bader.ch > Dec 31 17:43:31 zeus ypserv[187]: host at fullmoon (192.168.0.11) may be pulling my leg > Dec 31 17:43:32 zeus ypserv[187]: couldn't find master for map master.passwd.byuid@home.t-bader.ch > -<--<--<-- > > Also, ypxfr does not work: > > -->-->-->-- > zeus# /usr/libexec/ypxfr -h fullmoon master.passwd.byname > ypxfr: client/server DB type mismatch > ypxfr: call to rpc.ypxfrd failed: RPC: Can't decode result > ypxfr: failed to send 'clear' to local ypserv: RPC: Timed out > ypxfr: Exiting: Couldn't send "clear" request to local ypserv > --<--<--<-- > > But I have all daemons, which are needed, running: > > -->-->-->-- > zeus# rpcinfo -p zeus > program vers proto port > 100000 2 tcp 111 portmapper > 100000 2 udp 111 portmapper > 100004 1 udp 1021 ypserv > 100004 2 udp 1021 ypserv > 100004 1 tcp 1023 ypserv > 100004 2 tcp 1023 ypserv > 100007 2 udp 1015 ypbind > 100007 2 tcp 1022 ypbind > 100005 3 udp 1007 mountd > 100005 3 tcp 1019 mountd > 100005 1 udp 1007 mountd > 100005 1 tcp 1019 mountd > 100003 2 udp 2049 nfs > 100003 3 udp 2049 nfs > 100003 2 tcp 2049 nfs > 100003 3 tcp 2049 nfs > 100024 1 udp 995 status > 100024 1 tcp 1018 status > 600100069 1 udp 754 > 600100069 1 tcp 941 > --<--<--<-- > > Any suggestions? > > Please send me a Cc of your reply, because I'm not > subscribed to this list. > > Cheers > -- > .-. Thomas Bader · thomasb@trash.net.remove · http://www.t-bader.ch/ .-. > oo| oo| > /`'\ Einen Unix-Shellaccount gibt es unter http://www.trash.net/ /`'\ > (\_;/) PGP Key-ID: 0x3A4B7F5D (RSA) 0x7584F5D8 (DSA/EG) (\_;/) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message