<?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 Integrating Ontap with multidomain FreeIPA/Redhat IdM in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Integrating-Ontap-with-multidomain-FreeIPA-Redhat-IdM/m-p/139745#M30872</link>
    <description>&lt;P&gt;I'm trying to integrate a FAS (Ontap 9) with our FreeIPA (aka RedHat IdM) installation, so that we can offer NFSv4+krb5 to Linux clients.&amp;nbsp; This is proving to be a&amp;nbsp; bit tricky.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Background:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The IPA kerberos realm is: IPA.LOCALDOMAIN (corresponding dns: ipa.localdomain)&lt;/P&gt;
&lt;P&gt;However, the user realms are: LOCALDOMAIN (dns: localdomain) and STUDENT.LOCALDOMAIN (dns: student.localdomain).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(The users and group live in AD, but the IPA realm trusts the AD realms).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both the NFS client and the FAS are enrolled to IPA.LOCALDOMAIN and live under DNS domain ipa.localdomain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note also that usernames on the clients are fully qualified - so my username is 'rns@localdomain' rather than just 'rns'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can successfully mount a test volume on the Linux client with this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# mount -o sec=krb5 netapp-nfs2.ipa.localdomain:/rnstest2 /mnt4&lt;/P&gt;
&lt;P&gt;#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.. but when I try to access /mnt4 from a Linux client using my own identity (with a valid Kerberos ticket), I get permission denied:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ cd /mnt4&lt;BR /&gt;-bash: cd: /mnt4: Permission denied&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The FAS event log shows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time Node Severity Event&lt;BR /&gt;------------------- ---------------- ------------- ---------------------------&lt;BR /&gt;4/23/2018 12:15:38 netapp-poc01-01 ERROR Nblade.Nfsv4NsdbDomainMismatch: NFSv4 server 172.25.177.77 received domain string localdomain@ipa.localdomain from client 172.25.176.72, which does not match the '-v4-id-domain' value ipa.localdomain.&lt;BR /&gt;4/23/2018 12:12:45 netapp-poc01-01 ERROR secd.nfsAuth.problem: vserver (netapp-nfs2) General NFS authorization problem. Error: RPC accept GSS token procedure failed&lt;BR /&gt; [ 0 ms] Using the NFS service credential for logical interface 1030 (SPN='nfs/netapp-nfs2.ipa.localdomain@IPA.LOCALDOMAIN') from cache.&lt;BR /&gt; [ 2] GSS_S_COMPLETE: client = 'rns@LOCALDOMAIN'&lt;BR /&gt; [ 2] Trying to map SPN 'rns@LOCALDOMAIN' to UNIX user 'rns' using implicit mapping&lt;BR /&gt; [ 5] Entry for user-name: rns not found in the current source: FILES. Ignoring and trying next available source&lt;BR /&gt; [ 6] Failed to initiate Kerberos authentication. Trying NTLM.&lt;BR /&gt; [ 6] Successfully connected to ip 172.25.176.51, port 389 using TCP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem seems to be that Ontap is incorrectly parsing my identity as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; user-name: rns&lt;/P&gt;
&lt;P&gt;&amp;nbsp; domain string: localdomain@ipa.localdomain&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.. instead of:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; username: rns@localdomain&lt;/P&gt;
&lt;P&gt;&amp;nbsp; domain string: ipa.localdomain&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea how I can configure Ontap to parse this correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Robert.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:47:43 GMT</pubDate>
    <dc:creator>robertns</dc:creator>
    <dc:date>2025-06-04T13:47:43Z</dc:date>
    <item>
      <title>Integrating Ontap with multidomain FreeIPA/Redhat IdM</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Integrating-Ontap-with-multidomain-FreeIPA-Redhat-IdM/m-p/139745#M30872</link>
      <description>&lt;P&gt;I'm trying to integrate a FAS (Ontap 9) with our FreeIPA (aka RedHat IdM) installation, so that we can offer NFSv4+krb5 to Linux clients.&amp;nbsp; This is proving to be a&amp;nbsp; bit tricky.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Background:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The IPA kerberos realm is: IPA.LOCALDOMAIN (corresponding dns: ipa.localdomain)&lt;/P&gt;
&lt;P&gt;However, the user realms are: LOCALDOMAIN (dns: localdomain) and STUDENT.LOCALDOMAIN (dns: student.localdomain).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(The users and group live in AD, but the IPA realm trusts the AD realms).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both the NFS client and the FAS are enrolled to IPA.LOCALDOMAIN and live under DNS domain ipa.localdomain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note also that usernames on the clients are fully qualified - so my username is 'rns@localdomain' rather than just 'rns'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can successfully mount a test volume on the Linux client with this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# mount -o sec=krb5 netapp-nfs2.ipa.localdomain:/rnstest2 /mnt4&lt;/P&gt;
&lt;P&gt;#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.. but when I try to access /mnt4 from a Linux client using my own identity (with a valid Kerberos ticket), I get permission denied:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ cd /mnt4&lt;BR /&gt;-bash: cd: /mnt4: Permission denied&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The FAS event log shows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time Node Severity Event&lt;BR /&gt;------------------- ---------------- ------------- ---------------------------&lt;BR /&gt;4/23/2018 12:15:38 netapp-poc01-01 ERROR Nblade.Nfsv4NsdbDomainMismatch: NFSv4 server 172.25.177.77 received domain string localdomain@ipa.localdomain from client 172.25.176.72, which does not match the '-v4-id-domain' value ipa.localdomain.&lt;BR /&gt;4/23/2018 12:12:45 netapp-poc01-01 ERROR secd.nfsAuth.problem: vserver (netapp-nfs2) General NFS authorization problem. Error: RPC accept GSS token procedure failed&lt;BR /&gt; [ 0 ms] Using the NFS service credential for logical interface 1030 (SPN='nfs/netapp-nfs2.ipa.localdomain@IPA.LOCALDOMAIN') from cache.&lt;BR /&gt; [ 2] GSS_S_COMPLETE: client = 'rns@LOCALDOMAIN'&lt;BR /&gt; [ 2] Trying to map SPN 'rns@LOCALDOMAIN' to UNIX user 'rns' using implicit mapping&lt;BR /&gt; [ 5] Entry for user-name: rns not found in the current source: FILES. Ignoring and trying next available source&lt;BR /&gt; [ 6] Failed to initiate Kerberos authentication. Trying NTLM.&lt;BR /&gt; [ 6] Successfully connected to ip 172.25.176.51, port 389 using TCP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem seems to be that Ontap is incorrectly parsing my identity as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; user-name: rns&lt;/P&gt;
&lt;P&gt;&amp;nbsp; domain string: localdomain@ipa.localdomain&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.. instead of:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; username: rns@localdomain&lt;/P&gt;
&lt;P&gt;&amp;nbsp; domain string: ipa.localdomain&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea how I can configure Ontap to parse this correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Robert.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:47:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Integrating-Ontap-with-multidomain-FreeIPA-Redhat-IdM/m-p/139745#M30872</guid>
      <dc:creator>robertns</dc:creator>
      <dc:date>2025-06-04T13:47:43Z</dc:date>
    </item>
  </channel>
</rss>

