Strange Domain Name...

Christopher R. Hertel crh at
Tue Nov 20 09:05:02 GMT 2001


> You should be able to find the IPs of all the hosts in the local broadcast
> domain which have the CEMNTER domain name registered by using this command:
> 	nmblookup CEMNTER

...and if you know the IP of the WINS server do this:

nmblookup -R -U <wins server ip> CEMNTER

If node CEMNTER is not on your local LAN then you'll need to query the 
WINS server to find its IP.

> If you want to find the master browser of the CEMNTER domain:
> 	nmblookup -M CEMNTER

...assuming that there is a local master browser on your local IP subnet.
The -M lookup *only* works locally.  (There's an interesting work-around 
to this that Mike included in jCIFS.  jCIFS can query a DMB which, unlike 
WINS, does keep a list of LMBs by IP.  That way, jCIFS can find LMBs even 
if they are not local.)

> If you get a reply like "<1d>", then you can investigate it
> further with this command:

The <1D> value is part of the name, and won't be associated with the IP.  
The command below is good, though, and will send an Adapter Status Query 
to the designated node.

> 	nmblookup -A
> The output from that command will include all the host, domain, and group
> names that host has registered,


> as well as the name of any user who is
> currently logged into the host.

...depending upon the OS version.  Some Windows flavors do not add the 
user name.  Annoying.

Good luck!

Chris -)-----

Christopher R. Hertel -)-----                   University of Minnesota
crh at              Networking and Telecommunications Services

    Ideals are like stars; you will not succeed in touching them
    with your choose them as your guides, and following
    them you will reach your destiny.  --Carl Schultz

More information about the samba-technical mailing list