存取 NFS Kerberos 共用的 Linux 用戶端應具有有效的 Kerberos 票證。

用於從主機用戶端驗證 NFS Kerberos 檔案共用的範例 v41 命令:
NFS Kerberos 共用可以使用下列掛接命令來掛接:
[root@localhost ~]# mount -t nfs4 -o minorversion=1,sec=krb5/krb5i/krb5p <primary ip address>:/vsanfs/TestShare-0 /mnt/TestShare-0
[root@localhost ~]# cd /mnt/TestShare-0/
[root@localhost TestShare-0]# mkdir bar
[root@localhost TestShare-0]# touch foo
[root@localhost TestShare-0]# ls -l
total 0
drwxr-xr-x. 1 root root 0 Feb 19 18:35 bar
-rw-r--r--. 1 root root 0 Feb 19 18:35 foo

變更 NFS Kerberos 共用的擁有權

您必須使用 AD 網域使用者名稱登入,才能變更共用的擁有權。在檔案服務組態中提供的 AD 網域使用者名稱,可作為 Kerberos 檔案共用的 sudo 使用者。

[root@localhost ~]# mount -t nfs4 -o minorversion=1,sec=sys <primary ip address>:/vsanfs/TestShare-0 /mnt/TestShare-0
[fsadmin@ocalhost ~]# chown user1 /mnt/TestShare-0
[user1@localhost ~]# ls -l /mnt/TestShare-0
total 0
drwxr-xr-x. 1 user1 domain  users 0 Feb 19 18:35 bar
-rw-r--r--. 1 user1 domain users 0 Feb 19 18:35 foo