Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am a newbie to samba and linux. I configured smb.conf and now I can browse Linux share from NT and windows machines. But when I try to catch NT share trough linux it gives the following message. When browse through Nautilus I can go up to shared directories. From prompt I tried out smbclient as follws and it give the following message. Pl help me.
[root@nilantha samba]# smbclient //internal/slarmy -U nilantha
added interface ip=202.51.141.134 bcast=202.51.141.143 nmask=255.255.255.240
Got a positive name query response from 202.51.141.142 ( 202.51.141.142 202.51.141.141 )
Password:
Domain=[ITWEB] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
you couldn't let us have a copy of your smb.conf file as a starters reference could you. ive been struggling with NT/Linux via Samba for some time and still can't get the ***** thing to work!
yup had the same problem.. but after a lot of frustrating tweaks voila! it works now!.. don't even remember how i did it exactly.. just know that i fixed smbd and nmbd services... you might want to check that out too...
Had the same problem ... spent the better part of a day trying to work through it. For me, the error message set me up for failure by leading me down the wrong path looking for a solution. The real underlying problem was directory permissions two directories above in the path.
Be sure the entire path has at least golbal 'read' permissions set!
A quick 'chmod 755 dir' solved the problem for me. Zounds!
Thanks for you post ,i encounterd the same problem that you said the chmod the dir flag could resolv the issue.And which dir should be chmod the current?or the spcified?
Thanks in advznce!
Had the same problem ... spent the better part of a day trying to work through it. For me, the error message set me up for failure by leading me down the wrong path looking for a solution. The real underlying problem was directory permissions two directories above in the path.
Be sure the entire path has at least golbal 'read' permissions set!
A quick 'chmod 755 dir' solved the problem for me. Zounds!
Had the same problem ... spent the better part of a day trying to work through it. For me, the error message set me up for failure by leading me down the wrong path looking for a solution. The real underlying problem was directory permissions two directories above in the path.
Be sure the entire path has at least golbal 'read' permissions set!
A quick 'chmod 755 dir' solved the problem for me. Zounds!
-ap
OMG, this issue was killing me until i saw this thread!
I had similar problem : NT_STATUS_BAD_NETWORK_NAME
and after couple of hours I have found that my path was incorrect due Caps letters, keep in mind paths name should be case sensitive even if you are browsing the windows folders in short the administrive share of the entire partion c should be accessed
Can someone please give step by step instructions on how to solve this problem with permissions? I am having the same problem but not sure how to solve the problem
I was faced with this problem too, but the cause was different. On RedHat / Fedora products, SELinux is enabled and enforced by default. Disabling it solved this issue (/etc/sysconfig/selinux).
im also having the same problem as: tree connect failed: NT_STATUS_BAD_NETWORK_NAME when i tried to browse the shared samba directory.
the directry is shared in this way
[nfshare]
comment = nfsshared directory with samba
path = /nfstest
public = yes
writable = yes
printable = no
write list = john smith
valid users = john smith
hosts allow = 192.168.4.
hosts deny = 192.168.4.50
I did boolean on as :
[root@station51 ~]# getsebool -a |grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> on
samba_export_all_ro --> on
samba_export_all_rw --> on
samba_share_nfs --> on
use_samba_home_dirs --> off
virt_use_samba --> off
what is the problem, im getting alot confusion.
plz help me out of this. This deny host from samba is correct? is there any other method to deny any specified host in samba.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.