Blame SOURCES/0012-Update-mount.cifs-with-vers-default-mount-option-and.patch

5eee7b
From 478e60f01a37928a5cece9407bf66a1b731d2363 Mon Sep 17 00:00:00 2001
5eee7b
From: Kenneth D'souza <kdsouza@redhat.com>
5eee7b
Date: Fri, 15 Feb 2019 07:52:48 +0530
5eee7b
Subject: [PATCH 12/36] Update mount.cifs with vers=default mount option and
5eee7b
 SMBv3.0.2
5eee7b
5eee7b
Add vers=3.0.2 as a valid option for SMBv3.0.2 and explain behavior
5eee7b
of vers=default.
5eee7b
5eee7b
Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
5eee7b
(cherry picked from commit d93cabc638195b5a4274c2650477456f81651e75)
5eee7b
5eee7b
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
5eee7b
---
5eee7b
 mount.cifs.rst | 6 +++++-
5eee7b
 1 file changed, 5 insertions(+), 1 deletion(-)
5eee7b
5eee7b
diff --git a/mount.cifs.rst b/mount.cifs.rst
5eee7b
index a0faf7f..2ad7f59 100644
5eee7b
--- a/mount.cifs.rst
5eee7b
+++ b/mount.cifs.rst
5eee7b
@@ -591,9 +591,13 @@ vers=arg
5eee7b
     different dialect (2.000) that is not supported.
5eee7b
   - 2.1 - The SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server 2008R2.
5eee7b
   - 3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012.
5eee7b
-  - 3.02 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2.
5eee7b
+  - 3.02 or 3.0.2 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2.
5eee7b
   - 3.1.1 or 3.11 - The SMBv3.1.1 protocol that was introduced in Microsoft Windows Server 2016.
5eee7b
   - 3 - The SMBv3.0 protocol version and above.
5eee7b
+  - default - Tries to negotiate the highest SMB2+ version supported by both the client and server.
5eee7b
+
5eee7b
+  If no dialect is specified on mount vers=default is used.
5eee7b
+  To check ``Dialect`` refer to /proc/fs/cifs/DebugData
5eee7b
 
5eee7b
   Note too that while this option governs the protocol version used, not
5eee7b
   all features of each version are available.
5eee7b
-- 
5eee7b
1.8.3.1
5eee7b