[Samba] Netbios Problem

Jeff Herbeck jeffherbeck at gmail.com
Sun Nov 12 14:42:11 GMT 2006


Thanks!  That worked, but that just seems like a way to "trick" it into
working.

I have a unbuntu workstation that can't "see" www and another XP machine
that can't see www.

Even with the change to my hosts file on this XP box, I still can't go into
network neighborhood and see www.  Every other time I have setup samba it
was browseable and worked from any other computer with no  configuration

Jeff

On 11/12/06, S. J. van Harmelen <sander.vanharmelen at isp.solcon.nl> wrote:
>
> 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.localdomainlocalhost
> > 192.168.1.1             www
> >
> > Does anyone have any ideas?
> >
> > Thanks in advance,
> >
> > Jeff
>


More information about the samba mailing list