<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic nis clients in a domain in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957525#M117488</link>
    <description>Hi all&lt;BR /&gt;&lt;BR /&gt;Quick 10 points. Whats the easiest way to check the number of and hostnames of clients in a NIS domain ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Ste&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Apr 2003 13:19:28 GMT</pubDate>
    <dc:creator>steven Burgess_2</dc:creator>
    <dc:date>2003-04-23T13:19:28Z</dc:date>
    <item>
      <title>nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957525#M117488</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;Quick 10 points. Whats the easiest way to check the number of and hostnames of clients in a NIS domain ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Ste&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2003 13:19:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957525#M117488</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-04-23T13:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957526#M117489</link>
      <description>Hi Steve nice to see that you've got a proper job at last ;)&lt;BR /&gt;&lt;BR /&gt;Isnt it just one of the yp commands maybe ypcat hosts.&lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;George&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2003 13:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957526#M117489</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2003-04-23T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957527#M117490</link>
      <description>Do a ..&lt;BR /&gt;# man rpcinfo&lt;BR /&gt;and what you can do is run ..&lt;BR /&gt;# rpcinfo -b ypbind 1 | more&lt;BR /&gt;==&amp;gt; That should list all machines that has ypbind running. Just run it again and pipe it to "wc -l" to get the total. Just keep in mind ypbind is also run on the master and slaves. To get just those you would ..&lt;BR /&gt;# rpcinfo -b ypserv 1 | more&lt;BR /&gt;or simply ..&lt;BR /&gt;# ypcat -k ypservers</description>
      <pubDate>Wed, 23 Apr 2003 13:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957527#M117490</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-04-23T13:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957528#M117491</link>
      <description>ypcat... is the command.&lt;BR /&gt;&lt;BR /&gt;use ypcat -k ypservers. &lt;BR /&gt;&lt;BR /&gt;Ours is not a NIS setup,  but I am sure it's a ypcat command&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 23 Apr 2003 14:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957528#M117491</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-04-23T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957529#M117492</link>
      <description>here's a little ypcat shpeal :)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypcat.1.html" target="_blank"&gt;http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypcat.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2003 14:15:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957529#M117492</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2003-04-23T14:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957530#M117493</link>
      <description>rpcinfo -b ypbind 1&lt;BR /&gt;&lt;BR /&gt;will return info for hosts on your local subnet.  You would need to repeat this for each subnet that is served by your NIS domain.&lt;BR /&gt;&lt;BR /&gt;Check the output from ypcat -k hosts.byname.  Presumably, if you are sharing a hosts file by NIS, it will be updated to include the local client names as well as key servers in your domain.</description>
      <pubDate>Wed, 23 Apr 2003 14:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957530#M117493</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-04-23T14:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957531#M117494</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies&lt;BR /&gt;&lt;BR /&gt;ypcat -k ypservers - I had looked at this but it gives me the master and slave&lt;BR /&gt;&lt;BR /&gt;S.K you have given me the number of hosts , thanks&lt;BR /&gt;&lt;BR /&gt;Still not got the names of the hosts in the domain&lt;BR /&gt;&lt;BR /&gt;Ste&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2003 14:33:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957531#M117494</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-04-23T14:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957532#M117495</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;from the O'Reilly book:&lt;BR /&gt;"NFS and NIS"&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;( for  host in $(ypcat hosts | awk '{print $2}')&lt;BR /&gt;   do&lt;BR /&gt;      ypwhich $host&lt;BR /&gt;   done ) | grep -v 'not-bound' | sort | uniq -c&lt;BR /&gt;#EOF&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt;&lt;NUMBER of="" clients=""&gt; &lt;NIS server=""&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe helpful&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Andreas&lt;/NIS&gt;&lt;/NUMBER&gt;</description>
      <pubDate>Wed, 23 Apr 2003 14:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957532#M117495</guid>
      <dc:creator>Andreas Kruth</dc:creator>
      <dc:date>2003-04-23T14:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957533#M117496</link>
      <description>Mmm..&lt;BR /&gt;# rpcinfo -b ypbind 1 | more&lt;BR /&gt;should give you the IP address in the first column(field) and follow by the hostname in the 2nd column (field).</description>
      <pubDate>Wed, 23 Apr 2003 14:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957533#M117496</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-04-23T14:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957534#M117497</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;We are using dns for resolution&lt;BR /&gt;&lt;BR /&gt;had checked hosts.byname&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ste</description>
      <pubDate>Wed, 23 Apr 2003 14:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957534#M117497</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-04-23T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957535#M117498</link>
      <description>As far as I know, you wont be able to do this.&lt;BR /&gt;&lt;BR /&gt;ypcat -k ypservers &lt;BR /&gt;&lt;BR /&gt;Only shows you the NIS Database of listed servers.&lt;BR /&gt;&lt;BR /&gt;ypcat hosts&lt;BR /&gt;&lt;BR /&gt;Only shows the NIS map of /etc/hosts from the master server.&lt;BR /&gt;&lt;BR /&gt;rpcinfo will not show you much, because the way NIS works, it is not bound and constantly chatting like winblows.  Only when clients need data is there network activity.&lt;BR /&gt;&lt;BR /&gt;So, Im not sure that you can easily do what you want.  When I go to a new site, I will usually nmap the whole site, then start telnetting to see how things are configured one at a time.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Wed, 23 Apr 2003 14:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957535#M117498</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-04-23T14:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957536#M117499</link>
      <description>Thanks everyone&lt;BR /&gt;&lt;BR /&gt;I'm off home now. Will respond tomorrow after man utd have beat madrid 3 - 0 (fingers crossed)&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 23 Apr 2003 14:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957536#M117499</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-04-23T14:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957537#M117500</link>
      <description>On a host that does not run NIS (ie ypbind not running) the ypbind service does not show up in "rpcinfo -p". If you stop nis.client..&lt;BR /&gt;# /sbin/init.d/nis.client stop&lt;BR /&gt;and run ..&lt;BR /&gt;# rpcinfo -p&lt;BR /&gt;the ypbind srvice does not show. Start nis.client again and it appears.</description>
      <pubDate>Wed, 23 Apr 2003 14:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957537#M117500</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-04-23T14:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: nis clients in a domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957538#M117501</link>
      <description>Your still forced to do this on each client.  The rpcinfo method is just as easy as 'ypwhich'.  It really makes no difference.  &lt;BR /&gt;&lt;BR /&gt;The main problem with achieving the desired results is the way NIS works.  Clients are not on "bound" connections.&lt;BR /&gt;&lt;BR /&gt;Historically, this was done for performance.  Lord knows we see how slow windblows is with locking connections, and Novell is not much better (used to be worse).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Wed, 23 Apr 2003 15:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-clients-in-a-domain/m-p/2957538#M117501</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-04-23T15:03:30Z</dc:date>
    </item>
  </channel>
</rss>

