<?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: NFSv4 access for users with the same name but different uid in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFSv4-access-for-users-with-the-same-name-but-different-uid/m-p/430585#M9640</link>
    <description>&lt;P&gt;I got the explanation by browsing different sources: idmapping will not work with auth_sys.&lt;/P&gt;&lt;P&gt;topic may be closed.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jan 2022 15:08:27 GMT</pubDate>
    <dc:creator>AlexeyF</dc:creator>
    <dc:date>2022-01-03T15:08:27Z</dc:date>
    <item>
      <title>NFSv4 access for users with the same name but different uid</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFSv4-access-for-users-with-the-same-name-but-different-uid/m-p/430533#M9639</link>
      <description>&lt;P&gt;The goal is to make an NFS share on NetApp accessible to two different hosts for a user having the same name but different uid on those hosts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Host1&amp;nbsp;&lt;/P&gt;&lt;P&gt;user10 uid=1011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Host2&lt;/P&gt;&lt;P&gt;user10 uid=1012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nfs path is 10.10.10.10:/vol1/exchange&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;volume vol1 that hosts the share&amp;nbsp;&lt;/P&gt;&lt;P&gt;User ID: 0&lt;BR /&gt;Group ID: 0&lt;BR /&gt;Security Style: unix&lt;BR /&gt;UNIX Permissions: ---rwxr-xr-x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the directory exchange that has to be writable by both has:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File Path: /vol1/exchange&lt;/P&gt;&lt;P&gt;Security Style: unix&lt;BR /&gt;Effective Style: unix&lt;BR /&gt;DOS Attributes: 10&lt;BR /&gt;DOS Attributes in Text: ----D---&lt;BR /&gt;Expanded Dos Attributes: -&lt;BR /&gt;UNIX User Id: 1012&lt;BR /&gt;UNIX Group Id: 1012&lt;BR /&gt;UNIX Mode Bits: 750&lt;BR /&gt;UNIX Mode Bits in Text: rwxr-x---&lt;BR /&gt;ACLs: -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought that nfsv4 can do the job. client will pass &lt;A href="mailto:user10@mydomain.com" target="_blank" rel="noopener"&gt;user10@mydomain.com&lt;/A&gt;&amp;nbsp;instead of their uid and it will work&lt;/P&gt;&lt;P&gt;What was done:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- created user10 on SVM with uid 1012&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- set v4-id-domain to mydomain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- changed idmapd.conf on both hosts to add domain =&amp;nbsp;mydomain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mount -t nfs 10.10.10.10:/vol1/exchange /mnt/exchange&lt;/P&gt;&lt;P&gt;But when user10 on host1 tries to make "ls /mnt/exchange" it gets Permission denied.&lt;/P&gt;&lt;P&gt;in logs I see&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluster1::*&amp;gt; vserver security trace trace-result show -volume-name vol1 -client-ip 10.10.10.2 -fields unix-user,result,security-style&lt;BR /&gt;node vserver seqnum security-style result unix-user&lt;BR /&gt;--------------- --------------- ------ ----------------- -------------------------------------------------------- ---------&lt;BR /&gt;Cluster1 SVM_01 365 SECURITY_MODEBITS Access is not granted for: "Modify", "Extend", "Delete" 1011&lt;BR /&gt;Cluster1 SVM_01 366 SECURITY_MODEBITS Access is not granted for: "Lookup", "Modify", "Extend", "Delete", "Read" 1011&lt;BR /&gt;2 entries were displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I misunderstand completely how nfs4 authentication works?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:06:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFSv4-access-for-users-with-the-same-name-but-different-uid/m-p/430533#M9639</guid>
      <dc:creator>AlexeyF</dc:creator>
      <dc:date>2025-06-04T10:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: NFSv4 access for users with the same name but different uid</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFSv4-access-for-users-with-the-same-name-but-different-uid/m-p/430585#M9640</link>
      <description>&lt;P&gt;I got the explanation by browsing different sources: idmapping will not work with auth_sys.&lt;/P&gt;&lt;P&gt;topic may be closed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 15:08:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFSv4-access-for-users-with-the-same-name-but-different-uid/m-p/430585#M9640</guid>
      <dc:creator>AlexeyF</dc:creator>
      <dc:date>2022-01-03T15:08:27Z</dc:date>
    </item>
  </channel>
</rss>

