Skip to main content
NetApp Knowledge Base

smbclient fails to create recurse folder

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

Scan to view the article on your device