Skip to contentSkip to conversation

Update mount.cifs with vers=default mount option and SMBv3.0.2

PATCH Applied Kenneth D'souza 2 participants 2 messages Feb 15, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 Update mount.cifs with vers=default mount option and SMBv3.0.2

Add vers=3.0.2 as a valid option for SMBv3.0.2 and explain behavior of vers=default.

---
 mount.cifs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
mount.cifs.rst +5 -1
index a0faf7f..2ad7f59 100644
@@ -591,9 +591,13 @@ vers=arg
     different dialect (2.000) that is not supported.
   - 2.1 - The SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server 2008R2.
   - 3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012.
-  - 3.02 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2.
+  - 3.02 or 3.0.2 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2.
   - 3.1.1 or 3.11 - The SMBv3.1.1 protocol that was introduced in Microsoft Windows Server 2016.
   - 3 - The SMBv3.0 protocol version and above.
+  - default - Tries to negotiate the highest SMB2+ version supported by both the client and server.
+
+  If no dialect is specified on mount vers=default is used.
+  To check ``Dialect`` refer to /proc/fs/cifs/DebugData
 
   Note too that while this option governs the protocol version used, not
   all features of each version are available.
Signature · 1 line
2.17.2
#1 lore raw

чт, 14 февр. 2019 г. в 18:22, Kenneth D'souza <[email protected]>:

Quoted 29 lines

Add vers=3.0.2 as a valid option for SMBv3.0.2 and explain behavior of vers=default.

---
 mount.cifs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
mount.cifs.rst +5 -2
index a0faf7f..2ad7f59 100644
@@ -591,9 +591,13 @@ vers=arg
     different dialect (2.000) that is not supported.
   - 2.1 - The SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server 2008R2.
   - 3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012.
-  - 3.02 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2.
+  - 3.02 or 3.0.2 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2.
   - 3.1.1 or 3.11 - The SMBv3.1.1 protocol that was introduced in Microsoft Windows Server 2016.
   - 3 - The SMBv3.0 protocol version and above.
+  - default - Tries to negotiate the highest SMB2+ version supported by both the client and server.
+
+  If no dialect is specified on mount vers=default is used.
+  To check ``Dialect`` refer to /proc/fs/cifs/DebugData
 
   Note too that while this option governs the protocol version used, not
   all features of each version are available.
--
Quoted 2 lines

2.17.2

Merged, thanks.

--
Best regards,
Pavel Shilovsky