Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

[john]
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 \\192.168.0.2\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.

share|improve this question
    
What's the output of testparm -s –  warl0ck Oct 26 '12 at 23:59
    
And your distribution name –  warl0ck Oct 27 '12 at 0:00
    
It's Debian Squeeze. The output of testparm is here. –  Ian Oct 27 '12 at 7:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.