LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to list all computers in workgroup using samba? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-list-all-computers-in-workgroup-using-samba-798488/)

FireRaven 03-28-2010 04:42 PM

How to list all computers in workgroup using samba?
 
Similar to how Windows can list all computers in your workgroup (even if it's a slow process sometimes).

Can smbclient command do this or another samba util?

NOTE: I want to list all computers, not shares within a single remote computer.

bathory 03-29-2010 03:57 AM

Try any of the following:
Code:

nmblookup '*'
smbtree -N

Regards

FireRaven 03-29-2010 02:59 PM

The first one is very useful, even shows their shares.
Thanks :)


All times are GMT -5. The time now is 11:35 PM.