Subject: Re: ypbind problems on netbsd 1.6 sparc64
To: None <netbsd-users@netbsd.org>
From: dan radom <dan@radom.org>
List: netbsd-users
Date: 02/14/2003 14:19:53
* dan radom (dan@radom.org) wrote:
> I have a netbsd 1.6 sparc64 machine setup as a nis client, and I'm having
> a little trouble that I first thought to be a nss problem, but now I'm
> not so sure.  Here is the nsswitch.conf
> 
> group:          files nis
> group_compat:   nis
> hosts:          files dns
> netgroup:       files [notfound=return] nis
> networks:       files
> passwd:         files nis
> passwd_compat:  nis
> shells:         files
> 
> I've tried various combinations of compat along with +::::::::: in
> master.passwd without success.  I can ypcat passwd and see all theentries
> from the nis masters master.passwd map.  if i atempt to login with a nis
> account, or finger a nis accound it fails.  ktrace/kdump does show the
> fingerd users passwd map entry ...
> 
> 788 finger   GIO   fd 3 wrote 92 bytes
>        ">K~A\0\0\0\0\0\0\0\^B\0\^A\M^F\M-$\0\0\0\^B\0\0\0\^C\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^Odimensional.com\0\0\0\0\^Tmaster.passwd.byname\0\0\0\^Ddaud"

sorry about this.  the above response from the nis master should read...
788 finger   GIO   fd 3 read 56 bytes
       ">K~A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\^Wdaud:KAfd9P4ONrCDc:::::\0"

> 
> but it still returned no such user.
> 
> 
> Another thing that might be worth mentioning is that yppoll works just
> fine for any mapname.  Any hints or suggestions are greatly appreciated.
> 
> dan