Hi all
I am new to NIS world and I am trying to connect a NIS client (RH
8.0) to a Solaris 2.8 NIS server and having mount and NIS login
problems.
I am following Linux documentation project NIS How-to and
http://www.siliconvalleyccie.com/linux-adv/nis.htm.
I have done the following:
a. Set up NIS server to recognize the linux IP and hostname. (done
by someone else). NIS server runs in NIS (YP) mode.
b. Changed nsswitch.conf
passwd: compat files nis
shadow: compat files nis
group: compat files nis
hosts: nis files dns
c. changed resolv.conf to add domain and nameserver IP address
Able to ping NIS server by DNS name.
d. modified /etc/auto.master and /etc/auto.nfs
e. Ran authconfig - /etc/sysconfig/network looks fine
f. /etc/hosts.conf - order hosts,bind,nis
g. /etc/hosts - Added DNS-IP address of the NIS server and the
linux host
h. Changed /etc/passwd and /etc/group and /etc/shadow
i. Started NIS related client daemons. Ran chkconfig to save.
Now, after reboot, login and mounts does not work.
1. ypwhich shows the NIS server's DNS name (fully-qualified)
2. ypcat passwd shows error
No such map passwd.byname. Reason: Can't bind to server which
serves this domain
3. rpcinfo -p localhost outputs:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100007 2 udp 914 ypbind
100007 1 udp 914 ypbind
100007 2 tcp 917 ypbind
100007 1 tcp 917 ypbind
391002 2 tcp 32769 sgi_fam
100009 1 udp 1020 yppasswdd
Any help is deeply appreciated
Thanks
Sri