[Samba] smbclient lookup fails when querying local machine
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 '^]'.
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 192.168.0.1:139 0.0.0.0:* LISTEN 2694/smbd
tcp 0 0 127.0.0.1:139 0.0.0.0:* LISTEN 2694/smbd
tcp 0 0 192.168.0.1:445 0.0.0.0:* LISTEN 2694/smbd
tcp 0 0 127.0.0.1:445 0.0.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
More information about the samba