[Samba] Detect version of smb being employed

Roy Eastwood spindles7 at gmail.com
Mon Oct 14 17:00:46 UTC 2019

> -----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.


More information about the samba mailing list