Thomas Bork
2003-Mar-24 21:34 UTC
[Samba] query WINS for all registered machines in an workgroup or domain
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
Jelmer Vernooij
2003-Mar-24 21:40 UTC
[Samba] query WINS for all registered machines in an workgroup or domain
On Mon, Mar 24, 2003 at 10:34:33PM +0100, Thomas Bork wrote about '[Samba] query WINS for all registered machines in an workgroup or domain':> 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>Is the smbtree utility what you're looking for ? -- Jelmer Vernooij <jelmer@nl.linux.org> - http://nl.linux.org/~jelmer/ 22:39:37 up 7 days, 4:54, 22 users, load average: 3.17, 4.63, 5.26