smbclient fails to create recurse folder
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/test1Password for [SAMBA\testuser1]:Try "help" to get a list of possible commands.smb: \> recursesmb: \> mkdir q/w/e/rsmb: \> mkdir test3mkdir 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.10014.617230295 10.10.10.100 → 10.10.10.110 SMB2 143 Create Response, Error: STATUS_OBJECT_NAME_NOT_FOUND