Samba 4.3.1 and max protocol

Jeremy Allison jra at samba.org
Fri Oct 23 20:09:53 UTC 2015


On Fri, Oct 23, 2015 at 09:04:23PM +0200, Thomas Bork wrote:
> Hi,
> 
> from
> 
> https://www.samba.org/samba/history/samba-4.3.0.html:
> 
> [...]
> SMB 3.1.1 supported
> -------------------
> 
> Both client and server have support for SMB 3.1.1 now.
> [...]
> smb.conf changes
> ----------------
> 
>   Parameter Name		Description		Default
>   --------------		-----------		-------
> [...]
>   client max protocol		Changed	default		SMB3_11
>   server max protocol		Changed default		SMB3_11
> 
> Not setting any max protocol in smb.conf and investigating with
> 
> 'testparm -sv | grep protocol'
> 
> I can see, that the max protocol is only SMB3:
> 
> testeis # testparm -sv | grep protocol
> Load smb config files from /etc/smb.conf
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> Processing section "[homes]"
> Processing section "[all]"
> Processing section "[public]"
> Processing section "[print$]"
> Loaded services file OK.
> Server role: ROLE_STANDALONE
> 
>         server max protocol = SMB3
>         max protocol = SMB3
>         protocol = SMB3
>         server min protocol = LANMAN1
>         min protocol = LANMAN1
>         client max protocol = default
>         client min protocol = CORE
> testeis # grep protocol /etc/smb.conf
> testeis #
> 
> Who is lying? samba-4.3.0.html or testparm?

Neither. SMB3.11 is printed as:

        {PROTOCOL_SMB3_11, "SMB3"}, /* for now keep PROTOCOL_SMB3_11 */

on output. Sorry if that's confusing.



More information about the samba-technical mailing list