Subject: Re: NetBSD YP Server compatible with Linux YP Client ?
To: Ben Collver <collver@peak.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 02/23/2005 19:44:44
At 6:44 Uhr -0800 23.2.2005, Ben Collver wrote:
>It's been ages since I played with NIS, but from my notes, here is what
>I see mssing:
>
>NetBSD server:
>
>rpcbind=YES
>domainname="foo.com.nis"
>...
>domainname foo.com.nis
>ypinit -m
>/etc/rc.d/rpcbind start
>/etc/rc.d/rpserv start
>/etc/rc.d/ypbind start
>/etc/rc.d/yppasswd start
>
>Linux client (tested on some old version of debian):
>
>#apt-get install nis
>#set domainname
>#make sure rpcbind and ypbind equivallents are started
>vi /etc/passwd
>append new last line: +:x:::::
>vi /etc/shadow
>append new last line: +:::::::::
>vi /etc/group
>append new last line: +:::

More modern Linux OSes have nsswitch.conf, no need to dance the +:::...
dance there.

I've got a NetBSD yp master running at work with RH Linux and NetBSD
clients. I did not manage to set up shadow passwd support, but other than
that, the combination runs just fine.

You can set an UID/GID range in the YP Makefile for the accounts to be
included in the passwd map to avoid sending round root passwds.

	hauke

--
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards