跳转到主内容

smbclient无法创建递归文件夹

Views:
17
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs<a>2009230305</a><a>smbclient</a>
Last Updated:

适用场景

  • ONTAP 9
  • smbclient
  • CIFS

问题描述

  • 当CIFS共享symlink-properties设置为选项"symlinks_and_widelinks"时、smbclient无法创建递归文件夹
[root@localhost ~]# smbclient -U testuser1 //10.10.10.100/test1
Password for [SAMBA\testuser1]:
Try "help" to get a list of possible commands.
smb: \> recurse
smb: \> mkdir q/w/e/r
smb: \> mkdir test3
mkdir 10.10.10.100\test1\test3: NT_STATUS_OBJECT_PATH_NOT_FOUND
 
  • 数据包跟踪显示smbclient使用"等无效路径创建一个文件夹10.10.10.100\test1\10.10.10.100"、IP地址重复两次
14.616964498 10.10.10.110 → 10.10.10.100 SMB2 254 Create Request File: 10.10.10.100\test1\10.10.10.100
14.617230295 10.10.10.100 → 10.10.10.110 SMB2 143 Create Response, Error: STATUS_OBJECT_NAME_NOT_FOUND
 

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.