Subject: Re: NetBSD NIS-client to Linux NIS-server
To: David Brownlee <abs@netbsd.org>
From: Fredrik Bjurenfors <ollesson@home.se>
List: netbsd-help
Date: 06/13/2001 15:43:09
I did that with no luck.
When running yppasswd on a NIS username it gives me a segfault.


Den ons, 13 jun 2001 15:27:23 skrev David Brownlee:
> 	Could you try removing the '*' from the +:*::::0:0::: line?
> 
> -- 
> 		David/absolute		-- www.netbsd.org: No hype
> required --
> 
> 
> On Wed, 13 Jun 2001, Fredrik Bjurenfors wrote:
> 
> > Yes it works fine.
> >
> > Den ons, 13 jun 2001 12:13:43 skrev David Brownlee:
> > > 	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 |
> > > > --------------------------------------------------------------
> > > >
> > > >
> > >
> > >
> > >
> > --------------------------------------------------------------
> > | Fredrik Bjurenfors | ollesson@home.se | http://ollesson.cx |
> > --------------------------------------------------------------
> >
> >
> 
> 
> 
--------------------------------------------------------------
| Fredrik Bjurenfors | ollesson@home.se | http://ollesson.cx |
--------------------------------------------------------------