Table of ContentsLibraryView in Frames

Enabling Kerberos v5 security services for NFS

To enable Kerberos v5 security services for NFS, you can use the nfs setup command.

Considerations

Data ONTAP provides secure NFS access using the Kerberos v5 authentication protocol to ensure the security of data and the identity of users within a controlled domain.

The Data ONTAP Kerberos v5 implementation for NFS supports two Kerberos Key Distribution Center (KDC) types: Active Directory-based and UNIX-based.

Note: In Data ONTAP 7.3.1 and later releases, you can configure Data ONTAP to use a UNIX-based KDC for NFS and an Active Directory-based KDC for CIFS. This functionality is called Kerberos Multi Realm.
KDC type Description
Active Directory-based The Kerberos realm for NFS is an Active Directory-based KDC. You must configure CIFS with Microsoft Active Directory authentication (which is Kerberos-based); then NFS will use the CIFS domain controller as the KDC.
UNIX-based The Kerberos realm for NFS is an MIT or Heimdal KDC.
Note: To support multi-realm configurations, Data ONTAP uses two sets of principal and keytab files. For Active Directory-based KDCs, the principal and keytab files are /etc/krb5auto.conf and /etc/krb5.keytab, respectively, just as in releases prior to Data ONTAP 7.3.1. For UNIX-based KDCs, however, the principal and keytab files are /etc/krb5.conf and /etc/UNIX_krb5.keytab, respectively. So, starting with Data ONTAP 7.3.1, the keytab file for UNIX-based KDCs has changed from /etc/krb5.keytab to /etc/UNIX_krb5.keytab.

This change does not affect upgrades, however, because Data ONTAP continues to use the old keytab file (/etc/krb5.keytab) for UNIX-based KDCs if you upgrade from a release prior to Data ONTAP 7.3.1. You need only use the new keytab file for UNIX-based KDCs (/etc/UNIX_krb5.keytab) if you reconfigure Kerberos after such an upgrade or you are configuring Kerberos for the first time.