NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Again about NIS client configuration



In article <trinity-af9fabdb-c377-4088-b273-62ae7ce9c0ab-1420670469538@3capp-mailcom-lxa02>,
Rocky Hotas <rockyhotas%post.com@localhost> wrote:
>Hello!
>In a local network, I tried to configure a NIS server with Ubuntu, a NIS
>client on a NetBSD host and it doesn't work.
>The following steps are the current client configuration:
>
>/etc/defaultdomain
>/etc/domainname
>
>are both symbolic links to a file where is written the domain name.
>I added the following lines to /etc/rc.conf
>
>rpcbind=yes
>ypserv=no 
>ypbind=yes
>
>(yppasswdd is not included because this is a client)
>
>and /etc/nsswitch.conf is
>
>group: 		nis files
>group_compat:	nis
>hosts:		files dns
>netgroup:	files [notfound=return] nis
>networks:	files
>passwd:		nis files
>passwd_compat:	nis
>shells:		files
>
>In the client host, the output of "domainname" is correctly the name of
>the NIS domain. The output of "ypwhich" is correctly the hostname of the
>NIS server. During system boot the host starts ypbind with no errors.
>But output of "yptest" is:

So if you:

	$ ypmatch <user> passwd

You see the user..

	$ ypwhich -m passwd

lists the correct server...

How are you dealing with the "shadow" map? If you ypcat passwd as root
do you see the password field in the password database? Are you merging
passwd and shadow on the server?

christos



Home | Main Index | Thread Index | Old Index