[Samba] smbtree Error NT_STATUS_HOST_UNREACHABLE

John Frankish frankish at dubai.oilfield.slb.com
Fri Feb 6 16:26:40 GMT 2009


Hi,

I've been running samba on a linux machine (dslkayak) to share a 
folder and a printer with several windows machines on a home network 
for a couple of years without problems.

I've recently added a second linux machine (ps3ydl) to the network, 
but I cannot access it from any other machines on the network even 
though it can access the other network shares.

There error I get is:

cli_start_connection: failed to connect to PS3YDL<20> (0.0.0.0). 
Error NT_STATUS_HOST_UNREACHABLE

even though I can ping to ps3ydl.

Any help would be appreciated, details below.

John
---------------
---------------
smb.conf (dslkayak)
-----------------------------
[global]
	workgroup = WORKGROUP
	netbios name = DSLKAYAK
	hosts allow = 192.168.1.
	security = share
	load printers = yes
	printing = cups
	printcap name = cups
	client lanman auth = yes
	lanman auth = yes
	domain master = yes
	local master = yes
	preferred master = yes
[share]
	path = /mnt/sdb4/dslshare
	read only = no
	browseable = yes
	guest ok = yes
[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = yes
	public = yes
	guest ok = yes
	writable = no
	printable = yes
[print$]
	comment = Printer Drivers
	path = /usr/local/share/cups/drivers
	browseable = yes
	guest ok = no
	read only = yes
	write list = root

smb.conf (ps3ydl)
--------------------------
[global]
	workgroup = WORKGROUP
	netbios name = PS3YDL
	hosts allow = 192.168.1.
	security = share
	client lanman auth = yes
	lanman auth = yes
	domain master = no
	local master = yes [= no doesn't change anything]
	preferred master = no
[share]
	path = /ps3share
	read only = no
	browseable = yes
	guest ok = yes

# smbtree (from ps3ydl)
----------------------------------
WORKGROUP
         \\DSLKAYAK                      Samba 3.2.4
                 \\DSLKAYAK\OfficeJetG85         OfficeJetG85
                 \\DSLKAYAK\IPC$                 IPC Service (Samba 3.2.4)
                 \\DSLKAYAK\print$               Printer Drivers
                 \\DSLKAYAK\share
         \\PS3YDL                        Samba 3.0.28-1.1
                 \\PS3YDL\IPC$                   IPC Service (Samba 3.0.28-1.1)
                 \\PS3YDL\share

$ smbtree (from dslkayak)
WORKGROUP
         \\DSLKAYAK                      Samba 3.2.4
                 \\DSLKAYAK\OfficeJetG85         OfficeJetG85
                 \\DSLKAYAK\IPC$                 IPC Service (Samba 3.2.4)
                 \\DSLKAYAK\print$               Printer Drivers
                 \\DSLKAYAK\share
         \\PS3YDL                        Samba 3.0.28-1.1
cli_start_connection: failed to connect to PS3YDL<20> (0.0.0.0). 
Error NT_STATUS_HOST_UNREACHABLE

but...

$ sudo ping -c4 ps3ydl
PING ps3ydl (192.168.1.104): 56 data bytes
64 bytes from 192.168.1.104: seq=0 ttl=64 time=0.880 ms



More information about the samba mailing list