Fix cifs mount options for guest access (#74)

* Fix cifs mount options when no username is supplied

* Update to use sec=none
This commit is contained in:
Gareth Jones
2021-12-13 12:56:11 +00:00
committed by GitHub
parent 73455739a2
commit 4cfdede74c

View File

@@ -199,7 +199,7 @@ fi
if [ "$USERNAME" == "" ]
then
MOUNT_OPTIONS="guest"
MOUNT_OPTIONS="sec=none"
else
MOUNT_OPTIONS="username=$USERNAME,password=$PASSWORD"
if [ "$DOMAIN" != "" ]
@@ -341,4 +341,4 @@ else
fi
echo "Done!"
exit 0
exit 0