Subject: Re: NetBSD NIS-client to Linux NIS-server
To: Fredrik Bjurenfors <ollesson@home.se>
From: David Brownlee <abs@netbsd.org>
List: netbsd-help
Date: 06/13/2001 11:13:43
At a first guess wouldn't +:*::::0:0::: include everyone with
a password of '*'?
Does a 'cd ~user' work for a user taken from the NIS passwd file?
--
David/absolute -- www.netbsd.org: No hype required --
On Wed, 13 Jun 2001, Fredrik Bjurenfors wrote:
> Im trying to get NIS working.
> The NIS server is a Debian GNU/Linux machine (sid)
> The Client is a NetBSD 1.5 machine (not working)
> I have a working GNU/Linux client.
>
>
> On the netbsd client:
> I can do ypcat passwd and i get all accounts that is avaible.
>
> This is what the passwd looks like:
> +:*::::0:0:::
>
> /etc/group has till on the end:
> +:::
>
> I tried this in /etc/nsswitch.conf
> passwd: files nis
> group: files nis
> That didnt work
>
> I tried
> passwd: nis [notfound=return] files
> group: nis [notfound=return] files
> Didnt work either.
>
>
> Other entrys looks like this:
> group: compat
> group_compat: nis
> hosts: files dns
> netgroup: files [notfound=return] nis
> networks: files
> passwd: compat
> passwd_compat: nis
> shells: files
>
>
> The domainname is set to the right nis domainname.
>
> rc.conf has this:
> rpcbind=YES
> ypbind=YES
>
> I have do a ypinit -c
>
> The NIS server is in /etc/hosts
>
> /etc/resolv.conf has on top:
> lookup yp dns
>
> I can su from root to other nis-users.
>
> ypwhich gives me the right output.
>
> I guess that this problem has something to do with the passwords or their
> cryptmethod.
>
> It would be very nice to get this things working.
> Thanks for your help.
>
>
> --------------------------------------------------------------
> | Fredrik Bjurenfors | ollesson@home.se | http://ollesson.cx |
> --------------------------------------------------------------
>
>