diff --git a/packages/network/samba/scripts/smbd-config b/packages/network/samba/scripts/smbd-config index 7b6bc16c1e..6d143b773f 100755 --- a/packages/network/samba/scripts/smbd-config +++ b/packages/network/samba/scripts/smbd-config @@ -23,6 +23,11 @@ if [ ! -f /storage/.cache/services/samba.conf ]; then cp /usr/share/services/samba.conf /storage/.cache/services fi +# Specify defaults here, in case these new properties not yet added in .cache +SAMBA_WORKGROUP=WORKGROUP +SAMBA_MINPROTOCOL=SMB2 +SAMBA_MAXPROTOCOL=SMB3 + . /storage/.cache/services/samba.conf # handle external drives