跳转到主内容

如何将 CIFS SVM 从域成员资格转换为工作组

Views:
18
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs
Last Updated:

可不使用  

适用于

  • ONTAP 9
  • CIFS/SMB
  • CIFS 服务器身份验证样式设置为域

解答

查看在 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:

4. 确认本地用户创建:

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.

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support