diff mbox series

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

Message ID 20190215022248.13277-1-kdsouza@redhat.com
State New
Headers show
Series [v4] Update mount.cifs with vers=default mount option and SMBv3.0.2 | expand

Commit Message

Kenneth Dsouza Feb. 15, 2019, 2:22 a.m. UTC
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 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Pavel Shilovsky Feb. 15, 2019, 8:06 p.m. UTC | #1
чт, 14 февр. 2019 г. в 18:22, Kenneth D'souza <kdsouza@redhat.com>:
>
> 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 | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/mount.cifs.rst b/mount.cifs.rst
> index a0faf7f..2ad7f59 100644
> --- a/mount.cifs.rst
> +++ b/mount.cifs.rst
> @@ -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.
> --
> 2.17.2
>

Merged, thanks.

--
Best regards,
Pavel Shilovsky
diff mbox series

Patch

diff --git a/mount.cifs.rst b/mount.cifs.rst
index a0faf7f..2ad7f59 100644
--- a/mount.cifs.rst
+++ b/mount.cifs.rst
@@ -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.