Subject: Re: NIS/YP
To: Selvan Naidoo <selvany@cat.co.za>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: netbsd-help
Date: 03/04/2004 12:14:49
On Thu, 2004-03-04 at 04:41, Selvan Naidoo wrote:
> Hi all,
>
> I am currently trying to set-up and test NIS/YP on 2 NetBSD 1.6.1
> units.
> There isn't much information available on the actual setup however I
> have managed to setup a NIS Server and NIS Client.
>
> If I type "ypwhich" on the client machine it does display the server
> IP address however if I type "ypcat passwd", I get the following
> error:
http://netbsd.gw.com/cgi-bin/man-cgi?rpc.yppasswdd+8+NetBSD-current
http://netbsd.gw.com/cgi-bin/man-cgi?yppasswd++NetBSD-current
-lava
> "ypcat: no such map
> passwd.byname. Reason: RPC failure"
>
> Does anyone know why this error comes up?
Either that map isn't getting built on the server or the appropriate
daemon's aren't running.
Try:
# rpcinfo -p
# rpcinfo -p localhost
# rpcinfo -p $HOSTNAME
-lava
>
> Does anyone have a setup/install procedure for NIS/YP?
>
> Many Thanks,
>
> Selvan