SMBD - NMBD problem
peter at castandcrew.com
Thu Feb 22 01:19:33 GMT 2001
I thing that the lmhost file is not the problem.
It start working when I add the word "host".
But this mean that WINS (or whatever) doesn't work.
Note the difference:
name resolve order = wins lmhosts
name resolve order = wins lmhosts host
Mike Kennedy wrote:
> It looks like you probably have a conflict between your WINS server
> information and your lmhosts information. Thats why it works when
> you use "name resolve order".
> If you are using WINS you shouldn't need a lmhosts file anyway. As
> long as all the machines you are trying to connect to are registering
> with the WINS server.
> Mike Kennedy
> Systems Group, C&C
> mikek at syrinx.ucr.edu
> On Wed, 21 Feb 2001, Peter Blajev wrote:
> > Hi guys,
> > I realy need your help.
> > It looks like SMBD doesn't want to talk with NMBD, but why?
> > When I run the command: nmblookup torpc8
> > The result is:
> > querying torpc8 on 10.5.255.255
> > Got a positive name query response from 10.5.2.27 ( 10.5.2.27 )
> > 10.5.2.27 torpc8<00>
> > That is correct.
> > When I run the command: smbclient -NL torpc8
> > The result is:
> > resolve_wins: Attempting wins lookup for name torpc8<0x20>
> > bind succeeded on port 0
> > resolve_lmhosts: Attempting lmhosts lookup for name torpc8<0x20>
> > Connection to torpc8 failed
> > Here is the enteries in log.nmb file:
> > wins_process_name_query: name query for name TORPC8<20> from IP
> > 127.0.0.1
> > [2001/02/21 19:28:17, 3]
> > nmbd/nmbd_winsserver.c:wins_process_name_query_request(
> > 1362)
> > TORPC8 is a workstation with some shares. If I use "name resolve order =
> > wins lmhosts host"
> > it's work perfect. But I want to be sure that wins is working.
> > Here is the smb.conf:
> > [global]
> > # interfaces = 127.0.0.1/8 10.5.1.12/255.255.0.0
> > # bind interfaces only = no
> > workgroup = TORONTO
> > guest account = nobody
> > password level = 8
> > log file = /var/log/samba/logs/log.%m
> > lock directory = /var/log/samba/locks
> > # Make wins work
> > wins support = yes
> > wins proxy = yes
> > domain master = yes
> > local master = yes
> > preferred master = yes
> > os level = 65
> > browse list = yes
> > name resolve order = wins lmhosts
> > Any seqgestion are highly appreciate.
> > Thanks a lot for your time.
> > Peter
More information about the samba