PDA

View Full Version : Samba Tree Connect Fail NT_STATUS_BAD_NETWORK_NAME


jarb
2005-09-14, 02:01 PM CDT
I decided to use a portable USB HD (with vfat) which automounts as /dev/sda1 on directory /media/WD_USB_2.

My first problem is that when it automounts I can not copy files to it unless logged in as root. Have to umount and then manually mount /dev/sda1 /media/WD_USB_2 -o umask=000 -t vfat.

But forgetting that problem for now, I also with to share it on a Samba share (my machine is FC4)

If I create a directoy /smbshare and share with samba it works fine. I can use smbclient //127.0.0.1/smbshare -U Username

But if I try to share /media or /media/WD_USB_2 and use smbclient //127.0.0.1/media the machine reports

[root@jamesarbrown /]# smbclient //127.0.0.1/media -U jamesarbrown
Password:
Domain=[JAMESARBROWN] OS=[Unix] Server=[Samba 3.0.14a-2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Any ideas? Note I wish to keep the portable HDD as vfat.

Thanks

James