Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2002 11:16:33 -0600
From:      Ryan Dooley <dooleyr@missouri.edu>
To:        Thomas Bader <thomasb@trash.net>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD as NIS slave for a linux box?
Message-ID:  <20020101111633.A6422@karma.iats.missouri.edu>
In-Reply-To: <20011231193137.A3896@trash.net>; from thomasb@trash.net on Mon, Dec 31, 2001 at 07:31:38PM %2B0100
References:  <20011231193137.A3896@trash.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020101111633.A6422>