Solaris Troubleshooting NIS: How do you list NIS servers on a network?

To find out which systems on the local network are NIS servers, run the following command:

 % rpcinfo -b ypserv 2

 The systems that respond are running ypserv, and thus NIS servers. To see if those servers are serving your NIS domain, execute the command:

 % yppoll -h responding_server passwd.byname

A NIS server which is on the net, but does not serve your domain, gives the output:

Can’t get any map parameter information.

Can’t get order number for map passwd.byname.

Reason: 

can’t bind to a server which serves domain

 Can’t get master for map passwd.byname.

Reason: 

can’t bind to a server which serves domain

 A NIS server which is on the net, and does serve your domain gives the output:

Domain mydomain is supported.  — > where mydomain is your NIS domainname

Map passwd.byname has order number XXXXXXXXX. –>  where XXXXXXX is some order number

The master server is mastername –> Where mastername is your NIS master’s hostname

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

You may also like...

1 Response

  1. September 16, 2015

    […] Read – How do you list NIS servers on a network? […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us