🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
samba4 protocols [solved] / Networking, Server, and Protection / Arch Linux Forums
Default: client max protocol = SMB3 Example: client max protocol = LANMAN1 client min protocol (G) This setting controls the minimum protocol version that the client will attempt to use. Normally this option should not be set as the automatic negotiation phase in the SMB protocol takes care ...
🌐
Reddit
reddit.com › r/archlinux › [psa] sbm1 samba protocol has been deprecated, here's a workaround
r/archlinux on Reddit: [PSA] SBM1 Samba protocol has been deprecated, here's a workaround
May 14, 2020 -

If you get an error while trying to mount an SMB1 samba share and you have no way to upgrade your server for whatever reason (hello Freebox users), do this as per this post:

$ sudo vim /etc/samba/smb.conf

[global] client min protocol = CORE

The error I was getting in Thunar file manager was something along the lines "failed to mount, software caused connection abort".

Hope this helps!

🌐
Samba
samba.org › samba › docs › current › man-html › smb.conf.5.html
smb.conf
The value default refers to the higher value of NT1 and the effective value of client min protocol. See client max protocol for a full list of available protocols. The values CORE, COREPLUS, LANMAN1, LANMAN2 are silently upgraded to NT1.
🌐
Claudia Kuenzler
claudiokuenzler.com › blog › 1062 › monitoring-samba-cifs-share-result-smbclient-not-suitable
Monitoring of Samba (CIFS) share stops working with error: Result from smbclient not suitable
March 18, 2021 - sles15:~ # testparm -v | grep -i prot client ipc max protocol = default client ipc min protocol = default client max protocol = default client min protocol = CORE server max protocol = SMB3 server min protocol = LANMAN1
🌐
nixCraft
cyberciti.biz › nixcraft › howto › samba (smb/cifs) › how to configure samba to use smbv2 and disable smbv1 on linux or unix
How to configure Samba to use SMBv2 and disable SMBv1 on Linux or Unix - nixCraft
May 12, 2021 - Edit smb.conf file, run: $ sudo vi /etc/samba/smb.conf Find the [global] section and append the following line: min protocol = SMB2 Here is my updated file: Fig.01: How to force SMB2 protocol in samba on Linux or Unix The following seems to work with Windows 10/Linux clients too as noted by ...
🌐
0xffsec
0xffsec.com › handbook › notes › smb-protocol-negotiation-failed
SMB Protocol Negotiation Failed | 0xffsec Handbook
July 3, 2022 - # /etc/samba/smb.conf [global] client min protocol = CORE client max protocol = SMB3
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › networking
Samba configuration - NT1 vs others - Linux Mint Forums
December 22, 2022 - To connect to my FreeBSD server from Linux Mint 21.1 64bit Xfce I added : client min protocol = NT1 server min protocol = NT1 below the line 'workgroup = WORKGROUP' line This worked, I can now connect to the Samba (version 4.12.15) running on the FreeBSD server.
🌐
Free
emmanuel.iffly.free.fr › doku.php
linux:samba [wiki]
# testparm -vs | grep "protocol" client ipc max protocol = default client ipc min protocol = default client max protocol = default client min protocol = CORE server max protocol = SMB3 server min protocol = LANMAN1
Find elsewhere
Top answer
1 of 1
16

From the man page for the configuration file for the Samba suite in the "client max protocol" section:

Possible values are :

  • CORE: Earliest version. No concept of user names.
  • COREPLUS: Slight improvements on CORE for efficiency.
  • LANMAN1: First modern version of the protocol. Long filename support.
  • LANMAN2: Updates to Lanman1 protocol.
  • NT1: Current up to date version of the protocol. Used by Windows NT. Known as CIFS.
  • SMB2: Re-implementation of the SMB protocol. Used by Windows Vista and later versions of Windows. SMB2 has sub protocols available.
  • SMB2_02: The earliest SMB2 version.
  • SMB2_10: Windows 7 SMB2 version.
  • SMB2_22: Early Windows 8 SMB2 version.
  • SMB2_24: Windows 8 beta SMB2 version.

By default SMB2 selects the SMB2_10 variant.

  • SMB3: The same as SMB2. Used by Windows 8. SMB3 has sub protocols available.
  • SMB3_00: Windows 8 SMB3 version. (mostly the same as SMB2_24)
  • SMB3_02: Windows 8.1 SMB3 version.
  • SMB3_10: early Windows 10 technical preview SMB3 version.
  • SMB3_11: Windows 10 technical preview SMB3 version (maybe final).

By default SMB3 selects the SMB3_11 variant.

Normally this option should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropriate protocol.

The value default refers to SMB3_11.

Adding clarification from A.B in the comments:

wiki.samba.org/index.php/Samba3/SMB2 states "Samba 3.6 added basic support for SMB2.0", "Basic support for SMB 2.1 was added in Samba 4.0.0", "Basic support for SMB3 is included in Samba 4.0.0 and later."

🌐
Samba
samba.org › samba › security › CVE-2016-2115.html
Samba - Security Announcement Archive
The values CORE, COREPLUS, LANMAN1, ... ipc max protocol = SMB2_10 client ipc min protocol (G) This setting controls the minimum protocol version that the will be attempted to use for IPC$ connections as DCERPC transport....
🌐
O'Reilly
oreilly.com › library › view › using-samba-second › 0596002564 › re160.html
min protocol = name - Using Samba, Second Edition [Book]
min protocol = name — [global] Allowable values: CORE, COREPLUS, LANMAN1, LANMAN2, NT1 · Default: CORE · If set, prevents use of old (less secure) protocols. Using NT1 disables MS-DOS clients. See also lanman auth. Get Using Samba, Second Edition now with the O’Reilly learning platform.
🌐
Samba
samba.org › samba › history › samba-4.3.7.html
Samba 4.3.7 - Release Notes
The values CORE, COREPLUS, LANMAN1, ... ipc max protocol = SMB2_10 client ipc min protocol (G) This setting controls the minimum protocol version that the will be attempted to use for IPC$ connections as DCERPC transport....
🌐
Group Policy Administrative Templates
admx.help
client min protocol
This setting controls the minimum protocol version that the client will attempt to use. Normally this option should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropriate protocol unless you connect to a legacy SMB1-only server.
🌐
SambaWiki
wiki.samba.org › index.php › Samba_4.11_Features_added › changed
Samba 4.11 Features added/changed - SambaWiki
The defaults of 'client min protocol' and 'server min protocol' have been changed to SMB2_02. This means clients without support for SMB2 or SMB3 are no longer able to connect to smbd (by default). It also means client tools like smbclient and other, as well as applications making use of libsmbclient are no longer able to connect to servers without SMB2 or SMB3 support (by default). It's still possible to allow SMB1 dialects, e.g. NT1, LANMAN2 and LANMAN1 for client and server, as well as CORE and COREPLUS on the client.
🌐
Samba
samba.org › samba › history › samba-4.11.0.html
Samba 4.11.0 - Release Notes
SMB1 is disabled by default --------------------------- The defaults of 'client min protocol' and 'server min protocol' have been changed to SMB2_02. This means clients without support for SMB2 or SMB3 are no longer able to connect to smbd (by default). It also means client tools like smbclient and other, as well as applications making use of libsmbclient are no longer able to connect to servers without SMB2 or SMB3 support (by default). It's still possible to allow SMB1 dialects, e.g. NT1, LANMAN2 and LANMAN1 for client and server, as well as CORE and COREPLUS on the client.
🌐
Samba
samba.samba.narkive.com › jON0LxNu › how-to-know-which-protocol-version-clients-use
[Samba] How to know which protocol version clients use?
Permalink Hi im just wondering.. testparm -v | grep protocol Why is on a domain member server the max protocol SMB3 Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions server max protocol = SMB3 server min protocol = LANMAN1 client max protocol = NT1 client min protocol = CORE And on a domain controlller samba-tool testparm -v | grep protocol server max protocol = NT1 server min protocol = CORE client max protocol = NT1 client min protocol = CORE I would think that the DC would use SMB3 also for Max protocol.