How to fix CIFS/SMB mount error: VFS: \\... Send error in SessSetup = -13
Problem:
While trying to mount a SMB share on Linux, the mount command fails with
mount_error_output.txt
mount: /nas: cannot mount //10.1.2.3/myshare read-only.with dmesg showing the following error messages:
dmesg_cifs_errors.txt
[ 689.574128] CIFS: Attempting to mount \\10.1.2.3\myshare
[ 689.621472] CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
[ 689.621483] CIFS: VFS: \\10.1.2.3 Send error in SessSetup = -13
[ 689.621503] CIFS: VFS: cifs_mount failed w/return code = -13Solution
Error -13 means that you are missing the cifs-utils package.
Install it using
install_cifs_utils.sh
sudo apt -y install cifs-utilsCheck out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow