On the Linux machine I changed the smb.conf like this:

path = /root/john/downloads
available = yes
valid users = john
read only = no
browsable = yes
public = yes
writable = yes

The path /root/john/downloads is mounted like this:

mount -o umask=0000,gid=1001,uid=1001 /dev/sdb1 /root/john/downloads

where gid and uid are john.

Now when I try to access the share with the Windows machine \\\john I get the error network path was not found with Wireshark I saw it's the NT_STATUS_BAD_NETWORK_NAME error. What is wrong with this, why isn't it working?

When I choose /home/john as the path it works perfectly.

  • What's the output of testparm -s – daisy Oct 26 '12 at 23:59
  • And your distribution name – daisy Oct 27 '12 at 0:00
  • It's Debian Squeeze. The output of testparm is here. – JohnnyFromBF Oct 27 '12 at 7:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.