[Samba] Re: find computer and sharename

Jorge Bastos mysql.jorge at decimal.pt
Tue Jul 19 16:03:19 GMT 2005


3.000 ? that's now too mutch :-)
Have you tried "nbtscan" ?


Jorge Bastos

----- Original Message ----- 
From: "Diego Lopes da Cruz" <diego.lopes at gmail.com>
To: <smb-clients at lists.samba.org>; <samba at lists.samba.org>
Sent: Tuesday, July 19, 2005 12:01 PM
Subject: find computer and sharename


Hello,
I need a script using "Xdialog" or other gtk, that find computer to
view  shares.. but my network contains 3.000 machines and the search
is very slow....

Already I used the following command in shell script:

smbtree -S "chi02" -U% | grep -i $server_name | cut -f2 | sed -e
{s/'\\\\'/''/} > /tmp/name_cpus

exists another faster method?

Some tip??

thanks


"Sorry my english... I speak portuguese only..."

-- 
Diego Lopes da Cruz
Use Software Livre!
Linux - The Future is Open and Free!



More information about the samba mailing list