Subject: NetBSD NIS-client to Linux NIS-server
To: None <netbsd-help@netbsd.org>
From: Fredrik Bjurenfors <ollesson@home.se>
List: netbsd-help
Date: 06/13/2001 02:55:20
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 |
--------------------------------------------------------------