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 共有の所有権の変更]

共有の所有権を変更するには、Active Directory ドメインのユーザー名でログインする必要があります。ファイル サービスの構成で指定された Active Directory ドメインのユーザー名は、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