How can you tell if a node is a WINS server ...
Christopher R. Hertel
crh at umn.edu
Wed May 8 14:42:02 GMT 2002
Look at the RA bit in the returned packet. A WINS server should set
this bit. A non-WINS should leave it clear.
I am pretty sure this works with Windows boxes. If so, we should be
sure we do this correctly in Samba. :)
See my notes in section 184.108.40.206.1 of
Richard Sharpe wrote:
> I am looking for a way from within a script to tell if a node is a
> WINS server.
> Doing something like 'nmblookup -A <ip.address>' is ambiguous, and
> even asking the node to translate its own name is ambiguous.
> It seems like you need to ask it to translate a name that a non-WINS
> server would not normally have?
> Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org,
> sharpe at ethereal.com
Christopher R. Hertel -)----- University of Minnesota
crh at nts.umn.edu Networking and Telecommunications Services
More information about the samba-technical