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
|