no suitable share and path were found, try setting SMB_SHARE_NAME and SMB_FOLDER
时间: 2023-12-06 19:45:29 浏览: 29
This error message typically appears when trying to access a network share on a remote computer using the SMB protocol, but the specified share name or folder path is incorrect or does not exist.
To resolve the issue, try setting the correct SMB_SHARE_NAME and SMB_FOLDER variables in the command or script you are using to access the share. For example, if you are using the "mount" command on Linux, the correct syntax would be:
```
mount -t cifs //remote_computer/SMB_SHARE_NAME /mnt/local_folder -o username=user,password=pass
```
Replace "remote_computer" with the IP address or hostname of the remote computer, "SMB_SHARE_NAME" with the name of the shared folder you want to access, and "/mnt/local_folder" with the local mount point where you want to access the share.
Make sure that the share name and folder path are correct and that you have permission to access them.