[Samba] Enumerate computers in WG/domain

Michael Gasch gasch at eva.mpg.de
Fri Dec 16 08:02:36 GMT 2005


Henrik Zagerholm wrote:
> Hi!
> Is there any smaba tool that will let me enumerate all computers in a  
> specific domain or workgroup?
> Have been looking through the normal commands but havn't found anything.
> 
> Regards,
> Henrik

not cool, but works :)
smbclient -L \\\\pc-in-a-workgroup-or-domain

may be you should use the local master browser for this to work
nmblookup -M <workgroup/domain>

greez


-- 
Michael Gasch
Max Planck Institute for Evolutionary Anthropology
Department of Human Evolution (IT)
Deutscher Platz 6
D-04103 Leipzig
Germany

Phone: 49 (0)341 - 3550 137


More information about the samba mailing list