跳转到主内容

即使具有共享权限,用户也无法访问 CIFS 共享 Everyone —完全控制

Views:
104
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>CIFS</a><a>访问被拒绝</a><a>安全模式</a><a>权限</a>
Last Updated:

状态信息

适用场景

  • ONTAP 9
  • 采用UNIX安全模式的CIFS或SMB共享

问题描述

  • 即使共享权限为Everyone - Full control、用户也无法访问CIFS或SMB共享。
  • 每当用户尝试 访问共享时、都会提示输入密码。
  • 提供密码后、显示"Access Denied"错误。
  • [1]  创建共享的卷/qtree的安全模式为UNIX。
  •  vserver services unix-user show -vserver <vs> -user <user> 运行时出现以下错误。

     Vserver: vs
    User Name: user
     User ID: 3xxx
Primary Group ID: x0
User's Full Name:
 Reason
 ------------------------------
 Access is denied by UNIX
 permissions while opening
 existing file or directory.
 Access is not granted for:
 "Synchronize", "Write DAC",
 "Read Control", "Execute",
 "Read EA", "Read"

  • 只有root用户和组具有访问权限

::> file-directory show -vserver SVM -path /vol/share_name
  (vserver security file-directory show)

         Vserver: SVM
        File Path: /vol/share_name
    File Inode Number: 64
     Security Style: unix
     Effective Style: unix
     DOS Attributes: 10
 DOS Attributes in Text: ----D---
Expanded Dos Attributes: -
      UNIX User Id: 0                        
      UNIX Group Id: 0
     UNIX Mode Bits: 770
 UNIX Mode Bits in Text: rwxrwx---
          ACLs: -

 

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.