[Samba] Netbios Problem
S. J. van Harmelen
sander.vanharmelen at isp.solcon.nl
Sun Nov 12 13:30:40 GMT 2006
Jeff,
Sounds like a name resolution problem on your XP workstation. Make sure
the following line is in C:\WINDOWS\System32\Drivers\etc\hosts on you XP
workstation:
192.168.1.1 www
Then try to ping the www from your workstation again. If it pings, then
\\www sould also work.
Sander
On Sun, 2006-11-12 at 07:10 -0600, Jeff Herbeck wrote:
> Hello Everyone,
>
> I have recently built a new CentOS 4 server and I am having trouble with
> Samba and specifically Netbios names. The server also acts as a router,
> firewall, dhcp, and so on.
>
> I have a very simple setup and no matter what I try, I can't get to my samba
> server by name.
>
> The servers IP is:
>
> 192.168.1.1
>
> The server name is:
>
> www
>
>
> I can not ping www (my XP workstation says "could not find host www")
> I can not access my samba shares with \\www
>
> If I type in \\192.168.1.1 everything works fine
>
> I kept thinking it was my firewall (shorewall configured with webmin), but
> even when I turn the firewall off, I still have the same problem.
>
> I have tried many combinations of opened ports on my firewall with no
> success. Right now I have:
>
> loc to firewall open on UDP 137
> loc to firewall open on TCP 137, 138, 139
> loc to firewall open on TCP 445
>
> I had a fedora server in the past and samba worked like a dream.
>
> I'm down to a really simple smb.conf. Here that is:
>
> [global]
> workgroup = workgroup
> # netbios name = WWW (I have tried it with and without this
> line)
> security = user
> encrypt passwords = yes
>
> [homes]
>
> browseable = yes
> writeable = yes
>
> Here is my hosts file
> 127.0.0.1 www.mydomain.com www localhost.localdomain localhost
> 192.168.1.1 www
>
> Does anyone have any ideas?
>
> Thanks in advance,
>
> Jeff
More information about the samba
mailing list