跳转到主内容

打印机无法将扫描的文件保存在CIFS共享上

Views:
7
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009年689525</a>
Last Updated:

适用场景

  • ONTAP 9
  • CIFS
  • NTFS

问题描述

  • 打印机无法将 扫描的文件保存在 CIFS共享上

注意: 这是指访问 创建CIFS共享上的文件时特定于客户端的行为、而不仅仅是访问CIFS共享。

  • 共享级别ACL表示用户 user1 有权访问共享

示例:

::> vserver cifs share access-control show -vserver vs1 -share share1 Share User/Group User/Group Access Vserver Name Name Type Permission -------------- ----------- --------------------------- ----------- ----------- vs1 share1 test\user1 windows Full_Control
  • 文件级ACL (DACL)表示用户1对卷没有权限

注意: user1 不在 Administrators 组中

示例:

::> vserver security file-directory show -vserver vs1 -path /test_volume Vserver: vs1 File Path: /test_volume File Inode Number: 64 Security Style: ntfs Effective Style: ntfs DOS Attributes: 10 DOS Attributes in Text: ----D--- Expanded Dos Attributes: - UNIX User Id: 0 UNIX Group Id: 0 UNIX Mode Bits: 555 UNIX Mode Bits in Text: r-xr-xr-x ACLs: NTFS Security Descriptor Control:0x9504 Owner:BUILTIN\Administrators Group:BUILTIN\Administrators DACL - ACEs ALLOW-CTS\Administrator-0x1200a9-OI|CI

注:user1 DACL - ACE下没有条目

  • 另一个指标是用户缺少有效权限:

示例:

::> vserver security file-directory show-effective-permissions -vserver vs1 -win-user-name user1 -path /somewhere/test_volume Vserver: vs1 Windows User Name: user1 Unix User Name: pcuser File Path: /somewhere/test_volume CIFS Share Path: - Effective Permissions: Effective File or Directory Permission: 0x100000 Synchronize [...]
  • 数据包跟踪显示打印机可以连接到CIFS共享(树连接成功)、但 STATUS_ACCESS DENIED在创建扫描的PDF文件时会获取
示例:
 
14 2023-08-16 11:04:15,167250 172.10.10.10 172.10.10.30 SMB2                        Tree Connect Request Tree: \\172.10.10.30\share_name
15 2023-08-16 11:04:15,167823 172.10.10.30 172.10.10.10 SMB2      STATUS_SUCCESS        Tree Connect Response
[...]
20 2023-08-16 11:04:15,467650 172.10.10.10 172.10.10.30 SMB2 47115 2680570868 2680571072 3745887559 Create Request File: 202309160001.pdf
21 2023-08-16 11:04:15,467788 172.10.10.30 172.10.10.10 SMB2 445 3745887559 3745887636 2680571072 Create Response, Error: STATUS_ACCESS_DENIED
 
注意:树连接 成功,但创建文件响应为status_access_denied
 

 

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.