From owner-freebsd-questions Mon Dec 31 10:31:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stinky.trash.net (stinky.trash.net [195.134.144.50]) by hub.freebsd.org (Postfix) with ESMTP id AAF3737B41C for ; Mon, 31 Dec 2001 10:31:42 -0800 (PST) Received: by stinky.trash.net (Postfix, from userid 1228) id 218C0948B2; Mon, 31 Dec 2001 19:31:38 +0100 (MET) Date: Mon, 31 Dec 2001 19:31:38 +0100 From: Thomas Bader To: questions@freebsd.org Subject: FreeBSD as NIS slave for a linux box? Message-ID: <20011231193137.A3896@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i Organization: private X-URL: X-Cool: get your free UNIX account @ http://www.trash.net/ X-PGP-Key: mailto (automated reply) X-Operating-System: SunOS 5.8 (sun4u) X-WM: Enlightenment 0.16.5 X-Editor: Vim-600 http://www.vim.org 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 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.passw= d.byname@home.t-bader.ch Dec 31 17:43:31 zeus ypserv[187]: host at fullmoon (192.168.0.11) may be pu= lling my leg Dec 31 17:43:32 zeus ypserv[187]: couldn't find master for map master.passw= d.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 --=20 .-. Thomas Bader =B7 thomasb@trash.net.remove =B7 http://www.t-bader.ch= / .-. oo| o= o| /`'\ 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