[Samba] Browsing shares of a server

Christopher Cox chriscox at endlessnow.com
Fri Sep 27 17:33:30 UTC 2019

On 9/27/19 10:39 AM, Rowland penny via samba wrote:
> On 27/09/2019 16:19, Christopher Cox via samba wrote:
>> With the removal of SMB1 (by default) and everywhere (e.g. Windows), I 
>> noticed that when I open up a computer (\\computer-name) I can see the 
>> shares that I have access to... that is, from a Windows Explorer (in 
>> my case Win10).  Is there any way to get something like this working 
>> using smbclient without SMB1?
>> All this is without (AFAIK) enabling the Function Discovery stuff. How 
>> does Windows do it?
>> It was easy with SMB1, how does Windows (and MacOS for that matter) 
>> discover shares that are available without explicitly specifying the 
>> share name that are available for a host?  And of course, is there 
>> anyway that "protocol" could be handled somehow in smbclient?
> For Windows clients, see here:
> https://github.com/christgau/wsdd

I understand the "Function Discovery" side and wsdd (which is fine for 
local same network discovery somewhat similar to Network Neighborhood). 
I'm saying that even without that if I browse to just a computer in 
Windows Explorer, I get to see the shares that I have access to.  I'd 
like that sort of feature in smbclient (if possible).

smbclient's "way" has relied on NT1/SMB1 stuff.  Just wondering if 
anyone know how to make this work the Windows way.

More information about the samba mailing list