Update mount.cifs with vers=default mount option and SMBv3.0.2
authorKenneth D'souza <kdsouza@redhat.com>
Fri, 15 Feb 2019 02:22:48 +0000 (07:52 +0530)
committerPavel Shilovsky <pshilov@microsoft.com>
Fri, 15 Feb 2019 20:11:45 +0000 (12:11 -0800)
Add vers=3.0.2 as a valid option for SMBv3.0.2 and explain behavior
of vers=default.

Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
mount.cifs.rst

index a0faf7f6e1a8b952201c958a1d5d342c8b90aee2..2ad7f59d5598cf8b1d68dec0ed6ef41b93a44a43 100644 (file)
@@ -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.