[Samba] query WINS for all registered machines in an workgroup or domain

Thomas Bork tombork at web.de
Mon Mar 24 21:34:33 GMT 2003


Hi,

I searched the documentation and the web but cannot find a way to query
a wins server for all registered machines in an workgroup or domain.
If I want to ask the wins with nmblookup, I have to specify a single
name to lookup, wildcards are not allowed.

If using the broadcast facility I can search with wildcards:

nmblookup '*' -B 192.168.0.255
querying * on 192.168.0.255
192.168.0.7 *<00>
192.168.0.3 *<00>
192.168.0.10 *<00>

That's not possible if asking wins, the result is only the wins
himself:

nmblookup -U 192.168.0.10 -R '*'
querying * on 192.168.0.10
192.168.0.10 *<00>

Is there a way to do what I want?

der tom



More information about the samba mailing list