Skip to main content
NetApp Knowledge Base

Access denied by server while mounting with NFS Kerberos in trusted domain

Views:
639
Visibility:
Public
Votes:
2
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • NFS Kerberos
  • Trusted domain

Issue

  • NFS kerberos mount in trusted domain fails.
[root@host1 ~]#mount -t nfs -vvv -o rw,sec=krb5,nfsvers=4,minorversion=1,clientaddr=10.x.x.x nfs:/volumepath /hostpath
Thu Apr 13 10:52:49 IST 2023
mount.nfs: timeout set for Thu Apr 13 10:54:49 2023
mount.nfs: trying text-based options 'sec=krb5,nfsvers=4,clientaddr=10.x.x.x,vers=4.1,addr=10.x.x.x'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting nfs:/volumepath
 
  • NFS kerberos LIF is created on domain "domain1.com.in".
::*> nfs kerberos interface show -vserver nfsserver-3
Logical
Vserver        Interface     Address         Kerberos SPN
-------------- ------------- --------------- -------- -----------------------
clus-sv3       clus-sv3-if1  10.xx.yy.228    enabled  nfs/clus-sv3.nas.ss.com.in@domain1.com.in
 
  • NFS client is part of different domain domain2.com.in.
[root@host1 ~]# realm list
domain2.com.in
type: kerberos
realm-name: DOMAIN2.COM.IN
domain-name: domain2.com.in
configured: kerberos-member
server-software: ipa
client-software: sssd
required-package: ipa-client
required-package: oddjob
required-package: oddjob-mkhomedir
required-package: sssd
login-formats: %U
login-policy: allow-realm-logins

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.