[Samba] nmblookup can't resolve IPs (but SMB-names)
Pascal Giannakakis
CapM at gmx.net
Wed Feb 12 15:09:10 GMT 2003
Hi there,
i have Samba 2.2.7a running on FreeBSD-STABLE 4.7. I set up a few things and
smbd and
nmbd start up at boot, i can browse the net.
However, nmblookup can only find IPs by SMB-names, but not SMB-names by IPs.
Here is
an example output of the failed lookup:
%nmblookup -d 3 210.104.1.133
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/etc/smb.conf"
Processing section "[global]"
added interface ip=210.104.1.133 bcast=210.104.1.255 nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying 210.104.1.133 on 210.104.1.255
name_query failed to find name 210.104.1.133
Why is it not working? We do not have a WINS in our network and it uses
default
"lmhosts host wins bcast" name resolve order. I get the same output for any
IP in our
network. Other ppl can see and browse my PC.
Thanx.
PS: here is the log of the working lookup:
%nmblookup -d 3 KATWS_PG
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/etc/smb.conf"
Processing section "[global]"
added interface ip=210.104.1.133 bcast=210.104.1.255 nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying KATWS_PG on 210.104.1.255
Got a positive name query response from 210.104.1.133 ( 210.104.1.133 )
210.104.1.133 KATWS_PG<00>
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
More information about the samba
mailing list