跳转到主内容

如何授予和删除对CIFS共享的访问权限

Views:
71
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

适用场景

  • Data ONTAP 8.2 7-模式
  • Data ONTAP 8.1 7-模式
  • Data ONTAP 7及更早版本              

问题描述

在 为CIFS共享设置访问权限时、发生错误:
> cifs access <share><user><permission>
Unknown user/group <user>

操作步骤

可以通过三种方式授予或删除对CIFS共享的访问权限:

  • Microsoft 管理控制台
  • 文件管理器命令行
  • FilerView
  1. 使用服务器管理器授予和删除访问权限:
    1. 使用对存储系统具有管理员权限的用户帐户登录到Windows NT工作站或服务器。
    2. 启动服务器管理器
    3. 选择计算机
    4. 单击选择域
    5. \Filername格式输入存储系统的域名称
    6. 突出显示存储系统的名称后、单击计算机
    7. 单击共享目录
    8. 选择修改访问权限所需的共享
    9. 单击权限
    10. 添加、删除或修改列出的用户和组的权限。
    11. 根据需要添加或删除用户和组。
    12. 单击确定
  2. 使用CIFS访问命令授予和删除访问权限:
    1. 访问存储系统控制台。
    2. 使用cifs access 命令授予或删除对共享的访问权限。
    3. 要添加对共享的访问权限、请键入:
      cifs access <share> [-g] <user|group><rights>
      权限可以是r w x - 或NT模式"无访问"、"读取"、"更改"和"完全控制"的UNIX模式组合。
      注意:对于用户和组,可能需要使用双引号将名称括起来并使用空格。  例如:"NETUPDomain Admins"。
    4. 删除对共享类型的访问权限:
      cifs access -delete <share> [-g] <user|group> 
  3. 使用FilerView授予和删除访问权限:
    1. 登录到FilerView并导航到CIFS
    2. 选择CIFS >共享>管理
    3. 对于要修改的共享,请在右侧的“Operations”(操作)下选择“Change Access”(更改访问权限)。
    4. 根据需要添加和删除用户和组。

 

 

 

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.