]> git.proxmox.com Git - pve-storage.git/commitdiff
fix #3609: cifs: add support to SMB 3.11
authorMoayad Almalat <m.almalat@proxmox.com>
Mon, 13 Sep 2021 12:15:55 +0000 (14:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 14 Sep 2021 09:50:14 +0000 (11:50 +0200)
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>
PVE/Storage/CIFSPlugin.pm

index 02210692fddeaeef8f732d5baf30d7e9b29212e1..74e79127200a18d2c6cc0d3d3df99183d720db4b 100644 (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,
        },
     };