Samba: No such file or directory (BAD_NETWORK_NAME)
Posted: Wed Nov 27, 2024 11:38 am
Tried to mount a samba share, and got this error:
[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.
dmesg said:mount error(2): No such file or directory
Code: Select all
kernel: CIFS VFS: BAD_NETWORK_NAME: \\servername\sharename
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.