Strange Domain Name...

Isamar Maia isamar at
Tue Nov 20 16:15:02 GMT 2001

Hello Folks,

Thanks a lot for reply, but....
It's turning really interesting... no solution until now...
Using linux, I cannot get to visualize the wrong Domain.. CEMNTER.
I got this only using Windows Explorer...

I tryed this:

HOST - Wins Server and PDC (NT4)
MERU - my linux box
CENTER - Real and Correct Windows Domain

./nmblookup -R -U CEMNTER
querying CEMNTER on CEMNTER<00>

./nmblookup cemnter
querying cemnter on cemnter2<00>

 ./nmblookup -A
Looking up status of
        MERU            <00> -         M <ACTIVE>
        MERU            <03> -         M <ACTIVE>
        MERU            <20> -         M <ACTIVE>
        CENTER        <00> - <GROUP> M <ACTIVE>

./nmblookup -R -A
Looking up status of
        HOST            <00> -         M <ACTIVE>
        HOST            <20> -         M <ACTIVE>
        CENTER         <00> - <GROUP> M <ACTIVE>
        CENTER         <1c> - <GROUP> M <ACTIVE>
        CENTER         <1b> -         M <ACTIVE>
        CENTER         <1e> - <GROUP> M <ACTIVE>
        HOST            <03> -         M <ACTIVE>
        CENTER         <1d> -         M <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>

Looking up status of
        MERU            <00> -         M <ACTIVE>
        MERU            <03> -         M <ACTIVE>
        MERU            <20> -         M <ACTIVE>
        CENTER         <00> - <GROUP> M <ACTIVE>
        CENTER         <1e> - <GROUP> M <ACTIVE>

        CENTER         <1e> - <GROUP> M <ACTIVE>

Maybe if I run my machine with the wrong name, I can find the guilty
machine.... what about it?

-----Original Message-----
From: samba-technical-admin at
[mailto:samba-technical-admin at]On Behalf Of Christopher R.
Sent: Wednesday, November 21, 2001 2:03 AM
To: Esh, Andrew
Cc: 'Isamar Maia'; samba-technical at
Subject: Re: Strange Domain Name...


> 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
> 	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