<?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: cannot update kerberos keytab (Ontap 9.11) in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465729#M45300</link>
    <description>&lt;P&gt;get the same. Any new information here?&lt;/P&gt;&lt;P&gt;Not able to user Kerberos on Redhat IDM and Netapp NFS v4.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Feb 2026 13:48:43 GMT</pubDate>
    <dc:creator>Baefisch</dc:creator>
    <dc:date>2026-02-17T13:48:43Z</dc:date>
    <item>
      <title>cannot update kerberos keytab (Ontap 9.11)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465253#M45263</link>
      <description>&lt;P&gt;I accidentally update my nfs service kerberos keytab in a different machine with `ipa-getkeytab` command.&amp;nbsp;After that nfs clients disconnected from the storage one by one. (after credentials are expired I guess).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I need to update kerberos keytab and register it to Ontap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran a command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vserver nfs kerberos interface enable -lif stor01 -vserver vs1 -keytab-uri &lt;A href="http://url-to/kerberos.keytab" target="_blank"&gt;http://url-to/kerberos.keytab&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I got this result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error: command failed: Kerberos is already enabled on this LIF&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I try to disable it first instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vserver nfs kerberos interface disable -lif stor01 -vserver vs1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I typed admin username and password and 'y' to the following instruction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Warning: This command deletes the service principal name "nfs/stor01.in.kzmdstu.com@IN.KZMDSTU.COM" from the machine account on the KDC. Do you want to continue? {y|n}:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error: command failed: Failed to disable NFS Kerberos on LIF "stor01". Failed to delete the account associated with the Kerberos service principal name. Reason: Kerberos Error: Unknown error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I cannot enable nor disable.&lt;/P&gt;&lt;P&gt;How can I inspect the problem?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 10:30:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465253#M45263</guid>
      <dc:creator>yongbin</dc:creator>
      <dc:date>2026-01-20T10:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: cannot update kerberos keytab (Ontap 9.11)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465254#M45264</link>
      <description>&lt;P&gt;after &lt;STRONG&gt;set -previliege diagnostic&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to disable with &lt;STRONG&gt;vserver nfs kerberos interface disable -lif stor01 -vserver vs1&amp;nbsp;-force true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then enable it with&lt;STRONG&gt;vserver nfs kerberos interface enable ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but still it doesn't allow nfs access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;event show log &lt;/STRONG&gt;shows me this log&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1/20/2026 20:46:48 netapp01 ERROR secd.nfsAuth.problem: vserver (vs1) General NFS authorization problem. Error: RPC accept GSS token procedure failed&lt;BR /&gt;[ 0 ms] Using the NFS service credential for logical interface 1026 (SPN='nfs/stor01') from cache.&lt;BR /&gt;**[ 0] FAILURE: Failed to accept the context: Unspecified GSS failure. Minor code may provide more information (minor: Decrypt integrity check failed).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is weird because I've just updated all nfs keytabs...&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 12:21:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465254#M45264</guid>
      <dc:creator>yongbin</dc:creator>
      <dc:date>2026-01-20T12:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: cannot update kerberos keytab (Ontap 9.11)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465729#M45300</link>
      <description>&lt;P&gt;get the same. Any new information here?&lt;/P&gt;&lt;P&gt;Not able to user Kerberos on Redhat IDM and Netapp NFS v4.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 13:48:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465729#M45300</guid>
      <dc:creator>Baefisch</dc:creator>
      <dc:date>2026-02-17T13:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: cannot update kerberos keytab (Ontap 9.11)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465760#M45310</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/125431"&gt;@Baefisch&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;get the same. Any new information here?&lt;/P&gt;&lt;P&gt;Not able to user Kerberos on Redhat IDM and Netapp NFS v4.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;For me, clients are reconnected after some time (some hours) from the fix. I guess it because of cache system. But I am not sure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing I noticed is macs were able to connect right away with the fix. but linux machines took some time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 12:50:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/465760#M45310</guid>
      <dc:creator>yongbin</dc:creator>
      <dc:date>2026-02-19T12:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: cannot update kerberos keytab (Ontap 9.11)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/466188#M45334</link>
      <description>&lt;P&gt;i was able to mount nfsV4 with kerberos. Created a Ticket on netapp an redhat.&amp;nbsp;&lt;BR /&gt;Especcaly mr. Diddens/Netapp did a create job and recreated my problem.&lt;/P&gt;&lt;P&gt;Strange. Exactly did the same steps. Beside the cat /etc/krb5.conf.d/crypto-policies&amp;nbsp; part. I wrote more options found in another post. But this are the steps which work. Maybe the ordering of the cryptos are important?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;######## Redhat ################

### create Keytab
kinit admin
ipa host-add svm-lan-nas-01-lif1.ipa.bla.blub
ipa service-add nfs/svm-lan-nas-01-lif1.ipa.bla.blub
##### only sha1 IMPORTANT!!!!
ipa-getkeytab -p nfs/svm-lan-nas-01-lif1.ipa.bla.blub -k ./nfs.keytab_for_ticket -e aes256-cts-hmac-sha1-96,aes128-cts-hmac-sha1-96 


### copy keytab to any webserver
cp nfs.keytab_for_ticket wsv103.ipa.bla.blub:/var/www


#### Change Crypto Policy 
cat /etc/krb5.conf.d/crypto-policies 
[libdefaults]
permitted_enctypes =  aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 aes256-cts-hmac-sha384-192


######## on NETAPP svm  ########

## create export policy for kerberos
....

### create Kerberos Realm
ipa.bla.blub
KDC = 192.168.XX.XX
Port = 88 

### create LDAP Source 
lsv3000.ipa.bla.blub
dc=ipa,dc=bla,dc=blub
389
Anonymous
admin@ipa.bla.blub

## Kerberos to Unix mapping
(.+)\$@.*  --&amp;gt; root
host/.*@.* --&amp;gt; admin
(.*)@.*   --&amp;gt; \1

## enable LIF for Kerberos
 kerberos interface enable -lif svm-lan-nas-01-lif1 -vserver svm-lan-nas-01 -spn nfs/svm-lan-nas-01-lif1.ipa.bla.blub@ipa.bla.blub -keytab-uri http://wsv103.bla.blub/nfs.keytab_for_ticket 


##### Volume mount
mount -o sec=krb5,nfsvers=4,minorversion=1 svm-lan-nas-01-lif1.ipa.bla.blub:/wf2009_nfs_01 /mnt &lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Mar 2026 07:29:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cannot-update-kerberos-keytab-Ontap-9-11/m-p/466188#M45334</guid>
      <dc:creator>Baefisch</dc:creator>
      <dc:date>2026-03-09T07:29:24Z</dc:date>
    </item>
  </channel>
</rss>

