[Samba] Detect version of smb being employed

Rowland penny rpenny at samba.org
Mon Oct 14 17:34:00 UTC 2019


On 14/10/2019 18:16, Christopher Cox via samba wrote:
> On 10/14/19 12:00 PM, Roy Eastwood via samba wrote:
>>> -----Original Message-----
>>> From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of 
>>> Gerard Seibert via samba
>>> Sent: 14 October 2019 17:09
>>> To: samba at lists.samba.org
>>> Cc: Gerard Seibert
>>> Subject: Re: [Samba] Detect version of smb being employed
>>>
>>> On Mon, 14 Oct 2019 13:47:34 +0100, Rowland penny via samba stated:
>>>> On 14/10/2019 13:27, Gerard Seibert via samba wrote:
>>>>> FreeBSD 12
>>>>> Samba 4.8.12
>>>>>
>>>>> Samba is not showing up on my Win 10 PRO machine. I can access the
>>>>> shares if I use the machines hostname or IP, though. How can I
>>>>> determine what version of �smb� is being used? I have set �client max
>>>>> protocol = SMB3� in the config file; however, I am not sure if it is
>>>>> being used.
>>>>>
>>>> Hmm, so you set 'client max protocol' to SMB3 which means SMB3_11 and
>>>> this is the default, so you haven't really set anything ;-)
>>>>
>>>> Your problem is the lack of SMBv1, you must have this for network
>>>> browsing, Samba stopped using SMBv1 when 4.5.0 was released and
>>>> Windows has also turned it off on Win10, though you can still turn it
>>>> back on again on both.
>>>
>>> So, if I am undertanding you correctly, Samba shares will never show
>>> automatically in Win 10's "Network" unless I manually enter the URL or
>>> share name. Is that correct?
>>
>> Windows now use the Function Discovery Provider Host and Function 
>> Discovery Resource Publication Services to find hosts on the 
>> network.   You can add wsdd to the samba server to provide the Web 
>> Service Discovery service.   See here: 
>> https://github.com/christgau/wsdd.git . Works very well.
>
> While wsdd works well, it too has to be enabled on the Windows 10 side 
> AFAIK (or it just for serving?).  Anyway, just weird that Microsoft 
> created "an alternative" back in the Windows 8 days, but not really 
> encouraged.
>
> Mr. Rogers Neighborhood is closed.
>
>
No, you shouldn't have to enable anything on Windows 10 (at least, I 
didn't have to), it should just work after installing on a Unix machine.

Rowland





More information about the samba mailing list