[Samba] Error 4617: SMB connection failed &
NT_STATUS_BAD_NETWORK_NAME
Whil Hentzen
linuxnews at hentzenwerke.com
Mon Aug 9 03:19:23 GMT 2004
Hi folks,
I'm trying to access a share on a RedHat 9 server from a Fedora Core 1
workstation. Here is the environment (pretty vanilla), the error I'm getting,
and what I've done to try hunt down the problem.
Server, 192.168.1.100, has a share of /home/users/herman
Workstation, 192.168.1.101, has a mount point of /home/herman/serverdata
smb.conf on server has
[global]
hosts deny = ALL
hosts allow = 192.168.1. 127.
[herman]
path=/home/users/herman
valid users = herman
writable = yes
[root at clientbox ~]# mount -t smbfs -o username=herman,password=secret
//192.168.1.100:/home/users/herman /home/herman/serverdata
4715: Connection to 192.168.1.12: failed
SMB connection failed
I've read through the various troubleshooting guides at samba.org, searched
google for "4715 samba", and read through the ORA "Using Samba" for hints. I
also googled NT_STATUS_BAD_NETWORK_NAME and got a number of hits, but they
were all either not in English or were just a question without an answer.
Here's what I've done to test:
Step 1:
[root at serverbox samba]# testparm smb.conf
Load smb config files from smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[herman]"
Loaded services file OK.
Step 2:
[root at serverbox samba]# smbclient -L serverbox -N
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
Anonymous login successful
Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.7a]
Sharename Type Comment
--------- ---- -------
herman Disk Herman's dir
IPC$ IPC IPC Service (Samba Server)
ADMIN$ Disk IPC Service (Samba Server)
Server Comment
--------- -------
SERVERBOX Samba Server
CLIENTBOX Samba Server
Workgroup Master
--------- -------
WINDOMAIN JEEVES
MYGROUP SERVERBOX
Step 3:
[root at serverbox samba]# smbclient //serverbox/home/users/herman -U
herman%secret
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.7a]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Step 4:
[root at bambi samba]# nmblookup -d 2 "*"
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
querying * on 192.168.1.255
Got a positive name query response from 192.168.1.100 ( 192.168.1.100 )
Got a positive name query response from 192.168.1.101 ( 192.168.1.101 )
Got a positive name query response from 192.168.1.102 ( 192.168.1.102 )
Got a positive name query response from 192.168.1.103 ( 192.168.1.103 )
192.168.1.100 *<00>
192.168.1.101 *<00>
192.168.1.102 *<00>
192.168.1.103 *<00>
So.... can anyone help, tell me what other info I need to provide, or point me
in the right direction?
Thanks,
--
Whil
Moving to Linux: Freedom, Choice, Security, Opportunity
http://www.hentzenwerke.com
More information about the samba
mailing list