net view

Kevin A. Pieckiel kapieckiel at harding.edu
Wed May 5 15:50:39 GMT 1999


On Thu, 6 May 1999, Kirk Patton wrote:

-> Hello,
-> 
-> Is there an equivilant way to get a list of smb hosts on the network?
-> 
-> Something similiar to "net view" on a pc client.

nmblookup can be used to find a master browser for a particular domain.  For
Samba 2.0.3, it's:

nmblookup -M -


When you get the name of the master browser, you can use smbclient to get
a list of shares.  Since it's a master browser, it will also contain a browse
list and display that as well.  You may want to pipe it to less so you can
read it:

smbclient -L mymasterbrowser

Kevin

---
        |\      _,,,---,,_
 ZZZzz  /,`.-'`'    -.  ;-;;,_
       |,4-  ) )-,_. ,\ (  `'-'         Kevin Alan Pieckiel
      '---''(_/--'  `-'_)              kapieckiel at harding.edu

(This message was written with vi)



More information about the samba mailing list