<?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: What is the right command to show me user mapping? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106208#M21831</link>
    <description>Why do you expect same results on two different SVM?</description>
    <pubDate>Sat, 13 Jun 2015 05:45:47 GMT</pubDate>
    <dc:creator>aborzenkov</dc:creator>
    <dc:date>2015-06-13T05:45:47Z</dc:date>
    <item>
      <title>What is the right command to show me user mapping?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106195#M21829</link>
      <description>&lt;P&gt;I am trying to find out what UNIX ID is WINDOW ID "window_id1" mapping to. I used the following two commands, but produced two different outputs? Can you please advise what unix id is this "window_id1" mapping to, and why?&amp;nbsp;&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#secd authentication show-creds -node&amp;nbsp;node-01 -vserver vs1 -win-name windown_id1&lt;/P&gt;&lt;P&gt;UNIX UID: unix_id1 &amp;lt;&amp;gt; Windows User: domainname\window_id1 (Domain User)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#diag secd name-mapping show -node node-02 -vserver&amp;nbsp;vs1 -direction win-unix window_id1&lt;BR /&gt;window_id1&amp;nbsp;maps to pcuser&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:09:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106195#M21829</guid>
      <dc:creator>netappmagic</dc:creator>
      <dc:date>2025-06-05T04:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is the right command to show me user mapping?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106208#M21831</link>
      <description>Why do you expect same results on two different SVM?</description>
      <pubDate>Sat, 13 Jun 2015 05:45:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106208#M21831</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2015-06-13T05:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is the right command to show me user mapping?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106234#M21841</link>
      <description>&lt;P&gt;Sorry!&amp;nbsp;It was my typo. I updated my original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are on the same SVM, and same node.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 16:59:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106234#M21841</guid>
      <dc:creator>netappmagic</dc:creator>
      <dc:date>2015-06-15T16:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: What is the right command to show me user mapping?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106248#M21849</link>
      <description>&lt;P&gt;Hi netappmagic,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without seeing your nm-switch order and name-mapping rules, I can only venture so much.&amp;nbsp;&amp;nbsp; Here is a possible scenario:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your ns-switch is ldap/nis then files.&amp;nbsp;&amp;nbsp; Your test user accessed a share via a LIF residing on Node01.&amp;nbsp; SecD running on Node01 then performed the name mapping and populated the credential cache for the user.&amp;nbsp; The same test user has never accessed a LIF on Node02, yet.&amp;nbsp; So the default name mapping or default CIFS unix user option of pcuser is still in effect for the Node02 SecD cache.&amp;nbsp; Remember:&amp;nbsp; SECD runs on every node!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;skynet::*&amp;gt;
skynet::*&amp;gt; cifs options show -vserver hadrian_skyvs1 -fields default-unix-user
vserver        default-unix-user
-------------- -----------------
hadrian_skyvs1 pcuser

skynet::*&amp;gt;
skynet::*&amp;gt; diag secd authentication show-creds -node skynet-01 -vserver hadrian_skyvs1 -win-name administrator

 UNIX UID: pcuser &amp;lt;&amp;gt; Windows User: HADRIAN-SKYVS1\Administrator (Windows Local User)

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you point your test user to a LIF residing on Node02 or move all the Data LIFs to Node02 temporarily and test access by that user, Node02's show-creds command will look the same as Node01.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information about multiprotocol name mapping, see pg 114 of the NFS Best Practices Guide &lt;A href="http://www.netapp.com/us/system/pdf-reader.aspx?m=tr-4067.pdf&amp;amp;cc=us" target="_blank"&gt;TR-4067&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this was useful, always remember the kudos button is just a click away!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hadrian&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 23:06:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106248#M21849</guid>
      <dc:creator>hadrian</dc:creator>
      <dc:date>2015-06-15T23:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the right command to show me user mapping?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106274#M21855</link>
      <description>&lt;P&gt;Hi Hadrian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These two different commands were run on the same SVM and same node, but got two different results.&amp;nbsp;Sorry, I got typo again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"window_id1" is mapped to "unix_id1"&amp;nbsp;as&amp;nbsp;the result of running command:&lt;/P&gt;&lt;P&gt;#secd authentication show-creds -node&amp;nbsp;node-02 -vserver vs1 -win-name windown_id1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then mapped to default one "pcuser" as the result of running command:&lt;/P&gt;&lt;P&gt;#diag secd name-mapping show -node node-02 -vserver&amp;nbsp;vs1 -direction win-unix window_id1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;both ns-switch nm-switch is file only here.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 13:19:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-right-command-to-show-me-user-mapping/m-p/106274#M21855</guid>
      <dc:creator>netappmagic</dc:creator>
      <dc:date>2015-06-16T13:19:45Z</dc:date>
    </item>
  </channel>
</rss>

