From 396ea58b658ee345394543f7e56a8f64b2c733ea Mon Sep 17 00:00:00 2001 From: Moayad Almalat Date: Mon, 13 Sep 2021 14:15:55 +0200 Subject: [PATCH] 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 Tested-by: Fabian Ebner [ Thomas: move text from cover letter to commit message & add S-o-b ] Signed-off-by: Thomas Lamprecht --- PVE/Storage/CIFSPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/CIFSPlugin.pm b/PVE/Storage/CIFSPlugin.pm index 0221069..74e7912 100644 --- a/PVE/Storage/CIFSPlugin.pm +++ b/PVE/Storage/CIFSPlugin.pm @@ -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, }, };