<?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: NFS (and NIS) with netgroups in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/nfs-and-nis-with-netgroups/m-p/4457757#M37402</link>
    <description>Still not sure what is going on, but now it seems to be working.  The last thing I had done was to make sure I could mount by exporting it to the specific client (changing /etc/exports to share out to Config387VM3).  On the client I mounted successfully and submitted this thread.  After that I killed rpc.mountd on the server, changed /etc/exports to share out to the netgroup again, and restarted rpc.mountd in debug mode (rpc.mountd -F -d all).  Finally, on the client, I unmounted and then remounted, it succeeded.  Hmmm.</description>
    <pubDate>Fri, 10 Jul 2009 21:03:51 GMT</pubDate>
    <dc:creator>Matt Sears</dc:creator>
    <dc:date>2009-07-10T21:03:51Z</dc:date>
    <item>
      <title>NFS (and NIS) with netgroups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-and-nis-with-netgroups/m-p/4457756#M37401</link>
      <description>&lt;!--!*#--&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;I am trying to mount a share from a client listed in a netgroup on the server and I keep getting "Permission denied".&lt;BR /&gt;&lt;BR /&gt;SERVER (lmvm1)&lt;BR /&gt;--------&lt;BR /&gt;cat /etc/netgroup&lt;BR /&gt;my_netgroup (Config387VM3,,NIS_DOMAIN)&lt;BR /&gt;&lt;BR /&gt;cat /etc/exports&lt;BR /&gt;/mnt/psv2/my_nfs1/ @my_netgroup(rw,async,no_root_squash)&lt;BR /&gt;&lt;BR /&gt;showmount -e&lt;BR /&gt;/mnt/psv2/my_nfs1 @my_netgroup&lt;BR /&gt;&lt;BR /&gt;CLIENT (Config387VM3)&lt;BR /&gt;--------&lt;BR /&gt;# mount -t nfs lmvm1:/mnt/psv2/my_nfs1/ /mnt/1&lt;BR /&gt;mount: lmvm1:/mnt/psv2/my_nfs1/ failed, reason given by server: Permission denied&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The man page for "netgroup" states:&lt;BR /&gt;"The Linux libc5 does not query the /etc/netgroup file directly, it only querys the NIS server for the  groups".&lt;BR /&gt;&lt;BR /&gt;I took that to mean netgroups would not work without setting up a NIS server, so I configured the NFS server as a NIS server as well.  I changed the /var/yp/Makefile to build the netgrp database. I'm fairly confident that the communication between the NIS client and server is working appropriately since a 'ypcat passwd' on the client is reading the servers passwd file.&lt;BR /&gt;&lt;BR /&gt;When I export the share to the world (*) or the specific client (Config387VM3), the mount succeeds.  Can anyone help me figure out why it 's not working when the client is specified in a netgroup?&lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2009 20:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-and-nis-with-netgroups/m-p/4457756#M37401</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-07-10T20:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: NFS (and NIS) with netgroups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-and-nis-with-netgroups/m-p/4457757#M37402</link>
      <description>Still not sure what is going on, but now it seems to be working.  The last thing I had done was to make sure I could mount by exporting it to the specific client (changing /etc/exports to share out to Config387VM3).  On the client I mounted successfully and submitted this thread.  After that I killed rpc.mountd on the server, changed /etc/exports to share out to the netgroup again, and restarted rpc.mountd in debug mode (rpc.mountd -F -d all).  Finally, on the client, I unmounted and then remounted, it succeeded.  Hmmm.</description>
      <pubDate>Fri, 10 Jul 2009 21:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-and-nis-with-netgroups/m-p/4457757#M37402</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-07-10T21:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: NFS (and NIS) with netgroups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-and-nis-with-netgroups/m-p/4457758#M37403</link>
      <description>SOLVED:&lt;BR /&gt;I discovered that the client was not listed in the servers /etc/hosts file.  After adding it and restarting the network, I could mount with the client specified through a netgroup.</description>
      <pubDate>Fri, 10 Jul 2009 21:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-and-nis-with-netgroups/m-p/4457758#M37403</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-07-10T21:30:32Z</dc:date>
    </item>
  </channel>
</rss>

