Skip to main content
NetApp Knowledge Base

smbclient fails to create recurse folder

Views:
372
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • smbclient
  • CIFS

Issue

  • smbclient fails to create recurse folder when the CIFS share symlink-properties is set to option "symlinks_and_widelinks"
[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
 
  • A packet trace shows the smbclient creates a folder with an invalid path like "10.10.10.100\test1\10.10.10.100", IP address is being repeated twice
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.