是否可以重命名使用 vserver active-directory create 命令创建的计算机帐户
适用于
- ONTAP 9
- 域隧道
回答
- 无法重命名使用
vserver active-directory create命令创建的计算机帐户 - 如果需要更改名称,则需要删除并重新创建计算机帐户
注意: 不会对 CIFS 用户产生影响,因为这是为域隧道身份验证而不是 CIFS 共享访问创建的活动目录计算机帐户
追加信息
- 请参阅 在域上创建 SVM 计算机帐户
- 步骤:
1) 删除在 SVM 上创建的 Active Directory 帐户
::> vserver active-directory show -instance
Vserver: svm1
Active Directory NetBIOS Name: AD_TEST
NetBIOS Domain/Workgroup Name: NASLAB
Fully Qualified Domain Name: NASLAB.LOCAL
Organizational Unit: CN=Computers
Authentication Style: domain
::> vserver active-directory delete -vserver svm1
In order to delete an Active Directory machine account, you must supply the name and password of a Windows account with sufficient privileges to remove computers from the "NASLAB.LOCAL" domain.
Enter the user name: administrator
Enter the password:
2) 使用所需名称重新创建在 SVM 上创建的 Active Directory 帐户
::> vserver active-directory create -account-name ad_test1 -domain naslab.local
In order to create an Active Directory machine account, you must supply the name and password of a Windows account with sufficient privileges to add computers to the "CN=Computers" container within the "NASLAB.LOCAL" domain.
Enter the user name: administrator
Enter the password:
::> vserver active-directory show -instance
Vserver: svm1
Active Directory NetBIOS Name: AD_TEST1
NetBIOS Domain/Workgroup Name: NASLAB
Fully Qualified Domain Name: NASLAB.LOCAL
Organizational Unit: CN=Computers
Authentication Style: domain