[Samba] NET VIEW equivalent in Samba

Henrik Zagerholm henke at mac.se
Fri Dec 16 07:36:33 GMT 2005

Hi Guenter,
I made myself a own little module based on libsmbclient.
If you noly supply smb:// to smbc_opendir you will get back all  
workgroups available.
If you then use smb://WORKGROUPNAME you will get back all computers  
in that WG.

Works better than anything else :)


16 dec 2005 kl. 03:52 skrev Guenter Kukkukk:

> ----- Original Message -----
> From: "Henrik Zagerholm" <henke at mac.se>
> To: <samba at lists.samba.org>
> Sent: Tuesday, December 13, 2005 11:45 PM
> Subject: [Samba] NET VIEW equivalent in Samba
>> Hi!
>> Is there a NET VIEW equivalent in samba?
>> I looked at smbclient -L but then I have to know the browser master.
>> I only want to specifiy a workgroup..
>> Regards,
>> Henrik
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
> Hi Henrik,
> 'findsmb' is worth a try - but I don't use it! I haven't proved, if  
> it is
> still under development at all...
> You can also try 'smbtree' (my favourite).
> Have a look at the manpage.
> Something like the following should initially work:
>    smbtree -Uvaliduser%thepassword
> Here a user and its password is requested - to 'browse' all the
> (allowed) network shares...
> You can fine-tune the result (a bit).
> Best wishes - Guenter
> PS - and always think twice - is there a 'local' or 'master browser'
> running - or not? Broadcasts can only reach the local subnet!

More information about the samba mailing list