[Samba] How to find all workgroups being used on a subnet?

John H Terpstra jht at samba.org
Thu Sep 11 22:05:02 GMT 2003


On Thu, 11 Sep 2003, David Wuertele wrote:

> I want to discover all the groups currently in use on a subnet.  Is
> there a way to do this with a broadcast request?
>
> I know that I could just run nmblookup on every single host on the
> subnet, but that would take forever.  I'd like to just make one or
> maybe a few calls.  I'd like to limit the number of calls I make to no
> more than one plus the number of workgroups that are in use.

HAve you checked out 'findsmb' that is supplied as part of Samba?

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list