[Samba] Browsing shares of a server

Luca Olivetti luca at wetron.es
Fri Sep 27 18:20:04 UTC 2019


El 27/9/19 a les 17:19, Christopher Cox via samba ha escrit:
> 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?
> 
> 
> 

·smbclient -L server' doesn't work for you?

Here it lists the shares, then it says:

Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Unable to connect with SMB1 -- no workgroup available


so I guess it isn't using SMB1 to list the shares

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007



More information about the samba mailing list