Subject: ypbind
To: None <netbsd-help@netbsd.org>
From: Thierry Lacoste <th.lacoste@wanadoo.fr>
List: netbsd-help
Date: 12/12/2004 23:02:35
I ran into some problems with NetBSD (1.6 and 2.0) yp clients
when the server crashes, so I did the following experiment:

I run an yp server on a Linux PC.
I ypbind my NetBSD2.0 client (in broadcast mode).
Then I kill the ypserv process on the Linux box.

After that, I can't logging or su on NetBSD, even
on the root account which is in the local password file.
I have the repeated following error:
=A0yp_first: clnt_call: RPC: Timed out

My /etc/nsswitch file is:
=A0group:=A0=A0=A0=A0=A0=A0=A0=A0=A0files nis
=A0hosts:=A0=A0=A0=A0=A0=A0=A0=A0=A0files dns
=A0netgroup:=A0=A0=A0=A0=A0=A0files [notfound=3Dreturn] nis
=A0networks:=A0=A0=A0=A0=A0=A0files
=A0passwd:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0files nis
=A0shells:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0files

Isn't it weird that the client calls the yp server for a local account?

I have the same problem with FreeBSD 5.2, except that after
about 3 minutes of timeouts, I'm logged in (NetBSD is still timing out
after more than 15 minutes).
I tried that with a Debian Linux client and had no problem.

Any tips?

Regards,
Thierry Lacoste.