smbtar and aquiring a list of servers

Giulio Orsero giulioo at pobox.com
Wed Feb 2 09:01:06 GMT 2000


On Wed, 2 Feb 2000 18:24:12 +1100, hai scritto:

>I want to create a script to go out and grap files from various servers on
>my local lan.  
find the master browser
nmblookup -M -
then 
nmblookup -A <ip.of.master.browser>
smbclient -L <name.of.master.browser>

If the master browser if samba/nt you can skip  the -A since samba/nt
can be reached without knowing the name, just the ip.

you can even try
$ findsmb

-- 
giulioo at pobox.com


More information about the samba mailing list