Samba: No such file or directory (BAD_NETWORK_NAME)

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 381
Joined: Tue Nov 12, 2013 2:05 am

Samba: No such file or directory (BAD_NETWORK_NAME)

Post 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.
Post Reply