在数据 LIF 上启用 Kerberos
可以使用 vserver nfs kerberos interface enable 命令在数据 LIF 上启用 Kerberos。这样 SVM 就可以为 NFS 启用 Kerberos 安全服务。
关于本任务
如果使用 Active Directory KDC,所用的任何 SPN 的前 15 个字符必须在领域或域内部的所有 SVM 上都是唯一的。
示例
以下命令创建并验证名为 vs1 的 SVM 上的 NFS Kerberos 配置,在逻辑接口 ves03-d1 上,SPN 为 nfs/ves03-d1.lab.example.com@TEST.LAB.EXAMPLE.COM,在 OU lab2ou 中:
vs1::> vserver nfs kerberos interface enable -lif ves03-d1 -vserver vs2
-spn nfs/ves03-d1.lab.example.com@TEST.LAB.EXAMPLE.COM -ou "ou=lab2ou"
vs1::>vserver nfs kerberos-config show
Logical
Vserver Interface Address Kerberos SPN
------- --------- ------- --------- -------------------------------
vs0 ves01-a1
10.10.10.30 disabled -
vs2 ves01-d1
10.10.10.40 enabled nfs/ves03-d1.lab.example.com@TEST.LAB.EXAMPLE.COM
2 entries were displayed.
提供反馈