是否可以重命名使用vserver active-directory create命令创建的计算机帐户
适用场景
- ONTAP 9
- 域通道
问题解答
- 无法重命名使用
vserver active-directory create
命令创建的计算机帐户 - 如果需要更改名称、则需要删除并重新创建计算机帐户
注意: CIFS用户不会受到任何影响、因为这是为域通道身份验证而创建的Active Directory计算机帐户、而不是为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