fix #3609: cifs: add support to SMB 3.11

Added support for the SMB version SMB3_11 When the `min protocol =
SMB3_11` in the smb.conf, the CIFS mount will return with the
following error:
```
CIFS VFS: cifs_mount failed w/return code = -95
```
added an optional option to use the `vers=3.11`

Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
Tested-by: Fabian Ebner <f.ebner@proxmox.com>
[ Thomas: move text from cover letter to commit message &
  add S-o-b ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Moayad Almalat
2021-09-13 14:15:55 +02:00
committed by Thomas Lamprecht
parent 576e143ac1
commit 396ea58b65

View File

@ -117,7 +117,7 @@ sub properties {
smbversion => {
description => "SMB protocol version",
type => 'string',
enum => ['2.0', '2.1', '3.0'],
enum => ['2.0', '2.1', '3.0', '3.11'],
optional => 1,
},
};