跳转到主内容

smbclient无法创建递归文件夹

Views:
5
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

Scan to view the article on your device