[Samba] smbclient lookup fails when querying local machine

ryan punt rpunt at good-sam.com
Mon Dec 19 14:19:39 GMT 2005

OK, I've opened port 445 in the iptables config. Further testing shows no changed after doing this.

I can telnet to 139:
boothost:~# telnet localhost 139
Connected to localhost.localdomain.
Escape character is '^]'.
telnet> quit
Connection closed.

Trying to smbclient to NETBios name, public IP, and loopback all produce the same error:
session setup failed: Call timed out: server did not respond after 20000 milliseconds

I have neither a "hosts allow" nor a "hosts deny" line in my smb.conf.

Thanks a bunch for all your help, Adam.


>>> Adam Nielsen <adam.nielsen at uq.edu.au> 12/18/2005 5:02:30 PM >>>
Hmm, I have an additional port open:

tcp        0      0*               LISTEN      2694/smbd           
tcp        0      0 *               LISTEN      2694/smbd           
tcp        0      0*               LISTEN      2694/smbd           
tcp        0      0 *               LISTEN      2694/smbd   

But I don't know whether that's CIFS or something.  Are you able to
"telnet localhost 139"?  I suspect that doing that would also timeout,
whereas I can connect immediately.  If telnet also times out, it's
almost certainly a firewall issue.  Also check your "hosts allow" line
in smb.conf.


More information about the samba mailing list