Subject: Re: ypserv(8) stops working on 4.99.25 kernel
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 08/17/2007 08:22:08
In article <20070816213227.GQ11186@snowdrop.l8s.co.uk>,
David Laight  <david@l8s.co.uk> wrote:
>On Mon, Jul 30, 2007 at 10:24:17PM +0000, Michael van Elst wrote:
>> david@l8s.co.uk (David Laight) writes:
>> 
>> >I tried, but I have NFI how to configure it, nor to verify
>> >whether it is working.
>> 
>> Have a look at ypinit(8). It is not necessary to actually use
>> NIS on this machine.
>
>Ok, I'm trying to get NIS working between 2 test systems (using old
>kernels which shouldn't be broken by my recent changes!).
>
>With 'ypserv -fl' running on system 'a', 'ypbind' on 'b' populates
>/var/yp/binding/<domain>.version.
>
>But 'ypcat user' just gives 'no such map user.name.  Reason: RPC failure'
>on both systems, and immediately.
>What haven't I done ?

You should be able to reproduce the problem with a single machine.
You just need to run ypinit, ypserv and ypbind. The ypbind will never
bind. If you run ypbind with debug and you'll see what's going on.

christos