如何将 CIFS SVM 从域成员身份转换为工作组
适用于
- ONTAP 9
- CIFS / SMB
- CIFS 服务器身份验证方式设置为域
说明
本文介绍了将 SVM 从域转换为工作组成员所采取的步骤。
操作步骤
1.查看当前在 SVM 和 CIFS 共享上配置的身份验证样式:cluster1::> vserver cifs show
Server Status Domain/Workgroup Authentication
Vserver Name Admin Name Style
----------- --------------- --------- ---------------- --------------
svm1 SVM1 up demo.netapp.com domain <<<
| 注意:在使用 "y" 键确认操作之前,请仔细查看下面的警告。 |
2.修改 SVM CIFS 配置:
cluster1::> vserver cifs modify -vserver svm1 -status-admin down -workgroup WORKGROUP
Warning: To enter workgroup mode, all domain-based features must be disabled
and their configuration removed automatically by the system, including
continuously-available shares and shadow copies. However,
domain-configured share ACLs such as "DEMO.NETAPP.COM\userName" will
not work properly, but cannot be removed by Data ONTAP. Remove these
share ACLs as soon as possible using external tools after the command
completes.Do you want to continue? {y|n}: y
3.确认身份验证样式现已更改为工作组:
cluster1::> vserver cifs show
Server Status Domain/Workgroup Authentication
Vserver Name Admin Name Style
----------- --------------- --------- ---------------- --------------
svm1 SVM1 up WORKGROUP workgroup<<<
4.在 SVM 上为 CIFS 访问创建本地用户:
cluster1::> cifs users-and-groups local-user create -user-name user1 -is-account-disabled false -vserver svm1
Enter the password:
Confirm the password:
5.确认本地用户创建:
cluster1::> cifs users-and-groups local-user show
Vserver User Name Full Name Description
------------ --------------------------- -------------------- -------------
svm1 SVM1\Administrator Built-in administrator account
svm1 SVM1\User1 - -
2 entries were displayed.
追加信息
- 将 CIFS 服务器从工作组迁移到域不会影响共享或文件
- 任何定义的共享都将被保留
- 共享或文件的权限不会更改
- 如何将 CIFS SVM 从工作组转换为域成员资格