Date: Mon, 31 Dec 2001 19:31:38 +0100 From: Thomas Bader <thomasb@trash.net> To: questions@freebsd.org Subject: FreeBSD as NIS slave for a linux box? Message-ID: <20011231193137.A3896@trash.net>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011231193137.A3896>
