[Samba] smbclient lookup fails when querying local machine

ryan punt rpunt at good-sam.com
Tue Dec 13 15:17:31 GMT 2005


No such luck:

in smb.conf:
name resolve order = host bcast

Results:
boothost:~# smbclient -L 172.21.23.1 -Uvalidusr
added interface ip=172.21.23.1 bcast=172.21.23.255 nmask=255.255.255.0
Password:
session setup failed: Call timed out: server did not respond after 20000 milliseconds

Can bad WINS entries affect results even if WINS isn't in the "name resolve order"?

--

>>> Adam Nielsen <adam.nielsen at uq.edu.au> 12/12/2005 4:33:00 PM >>>
> wins.dat should list the IP address for this host as 172.21.23.1.

In this case using -L 172.21... instead of -L BH1230 should work.
There was a post earlier with the subject "Changed IP address" that
recommended editing wins.dat to fix the IP problem.

Cheers,
Adam.




More information about the samba mailing list