跳转到主内容

如何将 CIFS SVM 从域成员身份转换为工作组

Views:
632
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

​ ​

适用于

  • 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.

追加信息

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.