[Samba] WINS querying (Advanced)

WEBSTER, Greg
Wed, 19 Jun 2002 13:34:02 -0000

> -----Original Message-----
> From: Jim Watt [mailto:wattjg@appliedbiosystems.com]
> Subject: Re: [Samba] WINS querying (Advanced)
> "nmblookup" can do that.  A live example of me looking up my
login
> name, returning the machine I'm logged in on:
>
> >nmblookup -U ussjodns01 -R "jimw#3"
> querying jimw on 167.116.93.31
> 167.116.93.181 jimw<03>
>
> There's an example in the manpage for nmblookup.

Yep, but it's not very clear and your above example doesn't do it here.
I've
read the Q119495 article as well for these names.

For example...your query
# nmblookup -U 10.0.10.9 -R "gwebster#3"
querying gwebster on 10.0.10.9
wins_srv_died(): Could not mark WINS server 10.0.10.9 down.
Address not found in server list.
name_query failed to find name gwebster#03

While the following does give the opposite info:
# nmblookup -U 10.0.10.9 -A 10.0.29.33
Looking up status of 10.0.29.33
        AHBL29033       <00> -         M <ACTIVE>
        AHBLNT1         <00> - <GROUP> M <ACTIVE>
        AHBL29033       <03> -         M <ACTIVE>
        AHBL29033       <20> -         M <ACTIVE>
        AHBLNT1         <1e> - <GROUP> M <ACTIVE>
        AHBL29033       <01> -         M <ACTIVE>
        GWEBSTER        <03> -         M <ACTIVE>