Is there a wins server on your system?
Is there a DNS server on your system?
I don't know why the windows machine can't find your server when all the
linux machines can. Is there is a DNS or wins server, are the windows boxes
set up to use them?
I just don't know how to trouble shoot a connection problem from a windows
machine. The only thing I can think of would be to use tcpdump to see what
the windows machine is saying to the network.
Can the windows machines find the other linux boxes on your network?
How many windows machines are on your system that need to access your
server? I would try the lmhost fix. If that works, that might be the obvious
and quick solution.
Joel
On Thu, Dec 20, 2001 at 04:39:33PM -0500, Gerard wrote:> Xcuse me Joel Hammer, in my last question, I have forgot to tell you
> one things that I mentioned in the Subject of this message...
>
> (it's my fault, I know... I won't do it again! )
>
> I can't connect from a W98/2000 machine using the \\MGIRARD\,
> but with the IP (e.g \\10.1.6.130\), it work. From all Linux machine
> all work fine. The problem occurs only from a Win98/2000 machine.
> I've already passed throught the DIAGNOSIS.txt file and all the tests
> passed fine...
>
> Xcuse me again, perhaps I have sended my last mail to
> fast ;( (perhaps I wanna know too fast ;) )
>
> >Or, in the lmhosts file, if you are coming from windows.
>
> I don't want to add my adress in each of the windoze machine...
> What can I do ? There is another way than change the lmhosts for
> all windoze machine ? I've heard of a DNS ????? I don't know
> if I must put my real machine name in the master DNS or if I
> just have to put-up a DNS on my only Linux machine....
>
> Or others way ? nmbd customization ? Thx!
>
>
>
>
>
>
>
> Joel Hammer wrote:
>
> >Two things to try:
> >1. Walk through the DIAGNOSIS.txt in doc/textdocs
> >2. Try adding -d3 to the smbclient command when you try to connect, and
see
> >what is going on.
> >Here is what I get when I use an invalid name, that is to say, this is
> >neither a nebios name nor is it in my DNS:
> >(hamer is invalid)
> >jlh@jhammer6 jlh]$ smbclient \\\\hamer\\ps -d3
> >INFO: Debug class all level = 3 (pid 9155 from pid 9155)
> >added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
> >added interface ip=192.168.1.6 bcast=192.168.1.255 nmask=255.255.255.0
> >Client started (version 2.2.1a).
> >resolve_lmhosts: Attempting lmhosts lookup for name hamer<0x20>
> >resolve_hosts: Attempting host lookup for name hamer<0x20>
> >resolve_wins: Attempting wins lookup for name hamer<0x20>
> >resolve_wins: WINS server == <127.0.0.1>
> >bind succeeded on port 0
> >Negative name query response, rcode 0x03: The name requested does not
exist.
> >name_resolve_bcast: Attempting broadcast lookup for name
hamer<0x20>
> >bind succeeded on port 0
> >Connection to hamer failed
> >Note: When it tries resolv_hosts, it is checking the local host for the
name
> >you typed for the server. What the local host does depends on what is
in
> >/etc/hosts/ /etc/resolv.conf, and /etc/nsswitch.confi. My host checks
> >/etc/hosts, then nis, and then DNS.
> >You could put the smbd server in your /etc/hosts file, and that might
solve
> >your problem.
> >On Thu, Dec 20, 2001 at 09:28:39AM -0500, Gerard wrote:
> >
> >>Hello all!
> >>
> >> I've readed somes docs and I found nothing about the
> >>following trouble : I can't connect to my sbmd server using
> >>the following : '\\MYRH72SMBDSERVERNAME\' from a W98/2000.
I always got
> >>a error message like : 'Share name could not be found, make
> >>sure you typed it correctly....' , but if I utilize \\10.x.x.x\
all is
> >>working fine (I don't want to access using the \\IP\ way... )
> >>
> >> Our DNS didn't use our samba name, but use something like
> >>that : static52.domainname.com . It's a NMBD bug (I think
not...
> >>but I don't really know... )? Did I miss something ? (hehE)
> >>
> >>Thx in advance ;)
> >>
> >
>