[Samba] Re: name resolution

Dragan Krnic dkrnic at lycos.com
Thu Aug 21 09:59:40 GMT 2003


> the samba server is visible to all windows clients 
> in the network neighborhood. and i also can access 
> to shares on the server without any problems.
> 
> but if i do the following: 
> echo "test" | smbclient -M workstation01
> 
> the answer is:
> added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> Cannot resolve name workstation01#0x3

There is no master browser in your network.

> when i use the ip adress instead of "workstation01"
> 
> i get:
> added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> session request failed

IP address is out of place here.

> i also have a bind9 dns server on my server running. 
> when i try a dns lookup via nslookup it works in 
> both directions.

It doesn't use DNS. It uses WINS.

> what i do wrong? i don't want to use the lmhosts or 
> hosts file because i do not want to update the files 
> when there is somthing changing in the local network

lmhosts would do, but better set your samba server up
as domain master, preferred master and wins support,
all three " = Yes". That's my setting which works.


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005



More information about the samba mailing list