[Samba] Can connect to shares via IP but not hostname

Chris Smith smb23 at realcomputerguy.com
Wed Dec 13 19:46:37 GMT 2006

On Wednesday 13 December 2006 12:28, Scott wrote:
> Yes.

Difficult to believe as lack of NetBIOS name resolution appears to be the 

Check these items on your Windows systems:

NetBIOS is enabled.
WINS server addresses are configured (either manually or by DHCP) and point to 
your WINS server.
Firewall is off (at least during troubleshooting).
Make sure that your local hosts and lmhosts files are empty (except for the 
loopback info in the hosts file), so they are not overriding DNS and WINS 

Check this on your Samba PDC:

That it is configured to be a WINS server (wins support = Yes).
That your wins.dat file has the proper information. If not, stop Samba and 
delete the wins.dat and wins.tdb files and restart.
Also check you nmbd log for info such as:

"Samba server MYSERVER is now a domain master browser for workgroup MYDOMAIN 
on subnet ..."

"Samba name server MYSERVER is now a local master browser for workgroup 
MYDOMAIN on subnet..."


More information about the samba mailing list