<?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 Re: Problems with NIS' securenets and secureservers mechanism in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654029#M46771</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Agaian, &lt;BR /&gt;&lt;BR /&gt;1) Try restarting your yp daemons after making changes to these files. &lt;BR /&gt;&lt;BR /&gt;2) Put only entry for a specific subnet and see whether it accepts the value. for eg:&lt;BR /&gt;&lt;BR /&gt;255.255.255.0 80.1.1.0 - should accept any hosts from the 80.1.1 subnet.&lt;BR /&gt;&lt;BR /&gt;3) Check the permissions of the /var/yp files.&lt;BR /&gt;&lt;BR /&gt;4) check any entries in /etc/securenets.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
    <pubDate>Mon, 28 Jan 2002 17:13:33 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-01-28T17:13:33Z</dc:date>
    <item>
      <title>Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654024#M46766</link>
      <description>Hi Guys,&lt;BR /&gt; &lt;BR /&gt;I have a question on NIS' /var/yp/securenets and /var/yp/secureservers mechanism:&lt;BR /&gt; &lt;BR /&gt;I've set up a NIS Master server (on HP-UX 11.0), with the /var/yp/securenets (And also tried the same file as /var/yp/secureservers) file shown below. My understanding is that the NIS server would serve only the three machines mentioned in the file and reject bind requests from NIS clients not in the file.&lt;BR /&gt;However, I see that other machines on the yp domain are also binding to that NIS server, and receive yp services from it.&lt;BR /&gt; &lt;BR /&gt;Could someone shed light on how /var/yp/securenets should be used, to serve only certain yp clients in the yp domain ?&lt;BR /&gt; &lt;BR /&gt;Thanks,&lt;BR /&gt;Ron.&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;# securenets $Revision: 1.1.211.1 $ $Date: 96/10/09 11:26:11 $&lt;BR /&gt;#&lt;BR /&gt;# /var/yp/securenets file&lt;BR /&gt;#&lt;BR /&gt;# The format of this file is one of more lines of&lt;BR /&gt;#&lt;BR /&gt;# netmask netaddr&lt;BR /&gt;# Both netmask and netaddr must be dotted quads.&lt;BR /&gt;#&lt;BR /&gt;# Note that for a machine with two Ethernet interfaces (i.e. a gateway&lt;BR /&gt;# machine), the IP addresses of both have to be in /var/yp/securenets.&lt;BR /&gt;#&lt;BR /&gt;# for example:&lt;BR /&gt;#255.255.255.0 128.185.124.00&lt;BR /&gt;255.255.255.255 143.185.96.213&lt;BR /&gt;255.255.255.255 143.185.96.214&lt;BR /&gt;255.255.255.255 143.185.92.168&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;&lt;BR /&gt;Ron.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jan 2002 16:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654024#M46766</guid>
      <dc:creator>Ron Barak</dc:creator>
      <dc:date>2002-01-28T16:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654025#M46767</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Things are little different. First of all the /var/yp/securenets should be used in the server side and /var/yp/securenets should be used in the client side.&lt;BR /&gt;&lt;BR /&gt;And the format is like this:&lt;BR /&gt;&lt;BR /&gt;netmask netaddr&lt;BR /&gt;&lt;BR /&gt;The netmask and netaddr will be logically ANDed when starting the yp daemons. &lt;BR /&gt;&lt;BR /&gt;So in your eg:, 255.255.255.255 netmask will match with any address while ANDing. &lt;BR /&gt;&lt;BR /&gt;For more explanation, check this out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=582e01470314683eb5/screen=ckiDisplayDocument?docId=200000053127882" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=582e01470314683eb5/screen=ckiDisplayDocument?docId=200000053127882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jan 2002 16:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654025#M46767</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-28T16:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654026#M46768</link>
      <description>Check out the TKB document: KBRC00004639 (I have attached it for your convenience)&lt;BR /&gt;&lt;BR /&gt;I don't know if it will really help you, and I'm not sure I quite understand what they mean with the sentence about the '....0 address in the same place...'.&lt;BR /&gt;&lt;BR /&gt;Hopefully it'll help.  &lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jan 2002 16:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654026#M46768</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-01-28T16:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654027#M46769</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Sorry ..typing mistake .. /var/yp/secureservers in the client side.&lt;BR /&gt;&lt;BR /&gt;Shiju</description>
      <pubDate>Mon, 28 Jan 2002 16:50:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654027#M46769</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-28T16:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654028#M46770</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;1. Have you tried /etc/securenets file?&lt;BR /&gt;&lt;BR /&gt;2. If it isn't work try to &lt;BR /&gt;shut down ypserv process.&lt;BR /&gt;then use &lt;BR /&gt;# touch /etc/securenets &lt;BR /&gt;# touch /var/yp/securenets &lt;BR /&gt;# tusc -o /tmp/xxx ypserv&lt;BR /&gt;# cat /tmp/xxx | grep open&lt;BR /&gt;It shows which file is used during startup ...&lt;BR /&gt;&lt;BR /&gt;Regards:&lt;BR /&gt;Paul</description>
      <pubDate>Mon, 28 Jan 2002 16:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654028#M46770</guid>
      <dc:creator>Pal Szabo_1</dc:creator>
      <dc:date>2002-01-28T16:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654029#M46771</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Agaian, &lt;BR /&gt;&lt;BR /&gt;1) Try restarting your yp daemons after making changes to these files. &lt;BR /&gt;&lt;BR /&gt;2) Put only entry for a specific subnet and see whether it accepts the value. for eg:&lt;BR /&gt;&lt;BR /&gt;255.255.255.0 80.1.1.0 - should accept any hosts from the 80.1.1 subnet.&lt;BR /&gt;&lt;BR /&gt;3) Check the permissions of the /var/yp files.&lt;BR /&gt;&lt;BR /&gt;4) check any entries in /etc/securenets.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Mon, 28 Jan 2002 17:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654029#M46771</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-28T17:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654030#M46772</link>
      <description>Hi Paul,&lt;BR /&gt;&lt;BR /&gt;I tried your excelent suggestion to use tusc, and seems that neither /var/yp/securenets nor /etc/securenets are consulted (see below).&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Ron.&lt;BR /&gt;&lt;BR /&gt;loan167 [423] sudo /opt/tusc/bin/tusc -o /tmp/ypserv.tmp /sbin/init.d/nis.server start&lt;BR /&gt;    starting NIS SERVER networking&lt;BR /&gt;    starting up the rpcbind&lt;BR /&gt;        rpcbind already started, using pid: 623&lt;BR /&gt;        domainname idcto&lt;BR /&gt;    starting up the Network Information Service&lt;BR /&gt;        starting up the ypserv daemon&lt;BR /&gt;        /usr/lib/netsvc/yp/ypserv &lt;BR /&gt;        starting up the ypxfrd daemon&lt;BR /&gt;        /usr/sbin/ypxfrd &lt;BR /&gt;        starting up the rpc.yppasswdd daemon&lt;BR /&gt;        /usr/lib/netsvc/yp/rpc.yppasswdd /etc/passwd -m passwd PWFILE=/etc/passwd&lt;BR /&gt;        starting up the rpc.ypupdated daemon&lt;BR /&gt;        /usr/lib/netsvc/yp/rpc.ypupdated &lt;BR /&gt;        starting up the keyserv daemon&lt;BR /&gt;        keyserv already started, using pid: 14545&lt;BR /&gt;loan167 [424] grep open /tmp/ypserv.tmp&lt;BR /&gt;open("/dev/null", O_RDONLY, 02) .............................. = 4&lt;BR /&gt;open("/sbin/init.d/nis.server", O_RDONLY, 0123132) ........... = 4&lt;BR /&gt;open("/etc/rc.config.d/namesvrs", O_RDONLY, 056624) .......... = 4&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jan 2002 18:37:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654030#M46772</guid>
      <dc:creator>Ron Barak</dc:creator>
      <dc:date>2002-01-28T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with NIS' securenets and secureservers mechanism</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654031#M46773</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;You didn't see the opened files of ypserv beacuse &lt;BR /&gt;nis.server is an script.&lt;BR /&gt;&lt;BR /&gt;My suggestion:&lt;BR /&gt;(kill the ypserv,then start it manually)&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep ypserv&lt;BR /&gt;    root 19542     1  0 08:25:11 ?         0:00 /usr/lib/netsvc/yp/ypserv&lt;BR /&gt;# kill -9 19542&lt;BR /&gt;# /opt/tusc/bin/tusc -o /tmp/xxx /usr/lib/netsvc/yp/ypserv&lt;BR /&gt;# cat /tmp/xxx | grep open&lt;BR /&gt;&lt;BR /&gt;My output was the following:&lt;BR /&gt;open("/usr/lib/dld.sl", O_RDONLY, 017737401304) .................. = 4&lt;BR /&gt;open("/usr/lib/libdld.2", O_RDONLY, 0) ........................... = 4&lt;BR /&gt;open("/usr/lib/libc.2", O_RDONLY, 02) ............................ = 4&lt;BR /&gt;open("/usr/lib/libdld.2", O_RDONLY, 02) .......................... = 4&lt;BR /&gt;open("/usr/lib/libc.2", O_RDONLY, 0) ............................. = 4&lt;BR /&gt;open("/usr/lib/libnsl.1", O_RDONLY, 0) ........................... = 4&lt;BR /&gt;open("/usr/lib/libxti.2", O_RDONLY, 02) .......................... = 4&lt;BR /&gt;open("/usr/lib/libndbm.2", O_RDONLY, 0) .......................... = 4&lt;BR /&gt;open("/var/yp/a21435768901334", O_RDONLY|O_CREAT|O_EXCL, 0177270)  = 4&lt;BR /&gt;open("/var/yp/securenets", O_RDONLY, 0666) ....................... = 0&lt;BR /&gt;open("/dev/log", O_WRONLY|O_NONBLOCK, 0) ......................... = 5&lt;BR /&gt;open("/usr/lib/tztab", O_RDONLY, 0177270) ........................ = 6&lt;BR /&gt;open("/etc/netconfig", O_RDONLY, 0666) ........................... = 6&lt;BR /&gt;open("/usr/lib/libstraddr.1", O_RDONLY, 03) ...................... = 6&lt;BR /&gt;open("/usr/lib/libdld.2", O_RDONLY, 01) .......................... = 6&lt;BR /&gt;open("/usr/lib/libc.2", O_RDONLY, 03) ............................ = 6&lt;BR /&gt;open("/usr/lib/libnsl.1", O_RDONLY, 03) .......................... = 6&lt;BR /&gt;open("/dev/tlclts", O_RDWR, 01400) ............................... = 6&lt;BR /&gt;open("/dev/tlclts", O_RDWR, 0) ................................... = 6&lt;BR /&gt;open("/dev/tlclts", O_RDWR, 0) ................................... = 6&lt;BR /&gt;open("/dev/tlclts", O_RDWR, 0) ................................... = 6&lt;BR /&gt;&lt;BR /&gt;You see,it uses the securenets file.(Sorry,not in the /etc directory)&lt;BR /&gt;And the number in the securenets row shows, that ypserv opened this file.&lt;BR /&gt;If ypserv can't open your &lt;BR /&gt;securenets file,you will show &lt;BR /&gt;ENOENT in the tracing results.&lt;BR /&gt;I this case,check the permissions of securenets file.My permissions are:&lt;BR /&gt;(r--r--r--) &lt;BR /&gt;&lt;BR /&gt;Please do this on your machine.I do it on my master server.&lt;BR /&gt;&lt;BR /&gt;I check if it is well,and i see i see in syslog:&lt;BR /&gt;&lt;BR /&gt;Jan 29 08:44:27 dorka syslog: ypserv: access denied for 192.168.103.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards:&lt;BR /&gt;Paul&lt;BR /&gt;&lt;BR /&gt;PS:&lt;BR /&gt;If it doesn't work try it:&lt;BR /&gt;&lt;BR /&gt;Have you see ypserv messages in your syslog?&lt;BR /&gt;What network patches are installed on this machine?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jan 2002 09:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-nis-securenets-and-secureservers-mechanism/m-p/2654031#M46773</guid>
      <dc:creator>Pal Szabo_1</dc:creator>
      <dc:date>2002-01-29T09:56:38Z</dc:date>
    </item>
  </channel>
</rss>

