Click to See Complete Forum and Search --> : name resolution
Stray_Penguin
09-02-2002, 06:17 PM
I am having problems with the name resolution of my linux machine. I am running red hat 7.3, and I'm trying to get samba to work. I can ping my Linux box's name (Linux) from the linux machine, but not windows. When i type in nmblookup linux it fails to find it. Is my problem related to samba or what. Someone please help this little lost noob.
what are you using for name resolution? do you have a wins server? if you are using the linux box as a wins server, then you need to tell windows to use it in the tcp/ip settings.
if not, you need an lmhosts file on your windows box.
Stray_Penguin
09-02-2002, 06:28 PM
My samba is configured to act as my WINS server, my workstations set up to look at it as a WINS server. As for the samba it should be using lmhosts then hosts then wins then bcast for its resolution
cowanrl
09-02-2002, 06:29 PM
More than likely it's a firewall issue. The default firewall settings for Red Hat will block all Samba traffic.
To test it, shut down the firewall with these commands as root:
service iptables stop
service ipchains stop
If you don't have a DNS server set up or have the proper entries in your hosts file, don't try to ping using computer names. Use IP addresses.
If you want to test connectivity to Samba from Windows, try to access it from Network Neighborhhod or map a drive letter to the Samba share.
If you want to test it from the command line in Windows, use this:
net view \\sambaservername
Use the name of your Samba server. It should show you a list of your shares on the Samba server. If you can see it there, then try to map a drive letter to it.
Stray_Penguin
09-02-2002, 06:42 PM
Thank you so much... it is finally working. Thank you again