LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-08-2005, 02:21 PM   #1
MrFish
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Nt_status_bad_network_name


I have spent some time looking on the web for an answer to this, hopeful someone can point to one site that I've missed, or ideally tell me a solution!

Trying to set up a very simple samba server, read-only to everyone on my local networks.

Running smbclient -L localhost produces:

Password:
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.0.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Note the NT_STATUS... on the offical howto seems to be about printers

Here is my smb.conf :

[global]
interfaces = eth0 lo
netbios name=monkey
workgroup = MSHOME
Server String=Large Linux Box
security=share
guest account=nobody
hosts deny = ALL
hosts allow=192.168.1., 127.
socket options = SO_RCVBUF=4096 SO_SNDBUF=40960
wins server=yes
bind interfaces only=yes
[stuff]
security mask=222
comment= Hon's Computer
path=/public
read only=yes
guest ok= yes
guest only=yes
fake oplocks=yes
browseable=yes

If I type \\money\stuff on the windows XP laptop, I get an enter password box, obviously there isn't one, its a guest only share.

BTW path /public does exist !

However, I CAN use mount -t smbfs to access the Shared Docs folder on the XP box.
But findsmb only returns:

IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.1.1 monkey

nmblookup -d 2 '*'

added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
querying * on 192.168.1.255
Got a positive name query response from 192.168.1.1 ( 192.168.1.1 )
192.168.1.1 *<00>

which is the same thing I think, but more wordy.

Also I have set /ect/hosts :
127.0.0.1 localhost
192.168.1.1 monkey
192.168.1.253 echo
(which are correct, i double checked)

Many thanks
 
Old 02-03-2005, 03:15 PM   #2
MrFish
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Anyone ???
 
Old 02-06-2005, 01:54 AM   #3
MrFish
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Fixed it myself (!!)

"monkey" is not a real domain name. I removed it from /etc/hosts and from /etc/samba/smb.conf It now works

Thank you to everyone for the tireless assitance! :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tree connect failed: NT_STATUS_BAD_NETWORK_NAME nilantha Linux - Networking 17 11-05-2016 09:36 AM
samba & NT_STATUS_BAD_NETWORK_NAME wlfdgcrkz Linux - Software 10 05-19-2009 09:55 AM
samba: NT_STATUS_BAD_NETWORK_NAME sohmc Linux - Networking 7 12-21-2007 11:49 AM
Nt_status_bad_network_name rtcary Linux - Newbie 0 08-10-2005 06:24 PM
What does NT_STATUS_BAD_NETWORK_NAME mean ? ZhiYi Linux - Networking 2 02-14-2003 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration