Page 1 of 1

Samba: No such file or directory (BAD_NETWORK_NAME)

Posted: Wed Nov 27, 2024 11:38 am
by peter_b
Tried to mount a samba share, and got this error:
mount error(2): No such file or directory
dmesg said:

Code: Select all

kernel: CIFS VFS: BAD_NETWORK_NAME: \\servername\sharename
[SOLUTION]
It was actually so, that the wrong /etc/samba/smb.conf was loaded - so "sharename" was not present.

Make sure that "sharename" is present and accessible in smb.conf.