[Samba] WINS querying (Advanced)
herb at sgi.com
Wed Jun 19 13:58:22 GMT 2002
"WEBSTER, Greg" wrote:
> > -----Original Message-----
> > From: Jim Watt [mailto:wattjg at 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 18.104.22.168
> > 22.214.171.124 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>
I don't think this is doing what you believe. The -U and -A options
don't work together. This command does the exact same thing if you
leave out the -U part because it is querying the machine at the
IP address specified by the -A. You are not getting this info from the
Herb Lewis Silicon Graphics
Networking Engineer 1600 Amphitheatre Pkwy MS-510
Strategic Software Organization Mountain View, CA 94043-1351
herb at sgi.com Tel: 650-933-2177
http://www.sgi.com Fax: 650-932-2177
More information about the samba