From 93b7663142a0d2c9f63e4a204f3495e8fd582998 Mon Sep 17 00:00:00 2001 From: cimryan Date: Thu, 25 Oct 2018 07:21:39 -0700 Subject: [PATCH] Use values for CIFS vers from the mount.cifs man page. --- run/cifs_archive/verify-archive-configuration.sh | 4 +++- setup/pi/setup-teslausb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/run/cifs_archive/verify-archive-configuration.sh b/run/cifs_archive/verify-archive-configuration.sh index 614e88b..5bbc131 100644 --- a/run/cifs_archive/verify-archive-configuration.sh +++ b/run/cifs_archive/verify-archive-configuration.sh @@ -33,7 +33,9 @@ function check_archive_mountable () { if [ "$mount_failed" = true ] then - echo "STOP: The archive couldn't be mounted with CIFS version ${cifs_version}. Try specifying a lower number for the CIFS version like this: export cifs_version=2" + echo "STOP: The archive couldn't be mounted with CIFS version ${cifs_version}. Try specifying a lower number for the CIFS version like this:" + echo " export cifs_version=2.1" + echo "Other versions you can try are 2.0 and 1.0" exit 1 fi diff --git a/setup/pi/setup-teslausb b/setup/pi/setup-teslausb index 1b208ce..e55edf8 100644 --- a/setup/pi/setup-teslausb +++ b/setup/pi/setup-teslausb @@ -193,7 +193,7 @@ else # Else for now, TODO allow both for more redundancy? check_variable "shareuser" check_variable "sharepassword" - export cifs_version="${cifs_version:-3}" + export cifs_version="${cifs_version:-3.0}" fi check_variable "archiveserver"