Shares now work on SMB 2.0

This commit is contained in:
Pecusx
2023-02-12 16:45:53 +01:00
parent 37dacf4713
commit 28639f235c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -236,9 +236,9 @@ if (isset($msg)) {
$share_string = ''; $share_string = '';
} else { } else {
if ($login == "") { if ($login == "") {
$share_string = 'mount.cifs -o ro "'.$media_link.'" /share'; $share_string = 'mount.cifs -o vers="2.0",ro "'.$media_link.'" /share';
} else { } else {
$share_string = 'mount.cifs -o user="'.$login.'",password="'.$password.'",ro "'.$media_link.'" /share'; $share_string = 'mount.cifs -o vers="2.0",user="'.$login.'",password="'.$password.'",ro "'.$media_link.'" /share';
} }
} }
echo "New network media folder configuration.\r\n"; echo "New network media folder configuration.\r\n";
+1 -1
View File
@@ -1 +1 @@
5.5q 5.5r