diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-10-25 15:05:57 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-10-25 15:06:12 +0300 |
commit | 2f1a9c99e9953713829b6f38d581a41f3771e7bc (patch) | |
tree | e414cba9bd65536a33c0d093b97f8be3bc791da8 | |
parent | 84a2d6197900ec448f6efa526a107ef06100dfc5 (diff) |
samba: disable homes share by defaultv0.31.19
-rw-r--r-- | etc/nextcloudpi-config.d/samba.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/samba.sh b/etc/nextcloudpi-config.d/samba.sh index e0ffb4ac..82b5bab5 100644 --- a/etc/nextcloudpi-config.d/samba.sh +++ b/etc/nextcloudpi-config.d/samba.sh @@ -37,6 +37,9 @@ install() # disable SMB1 and SMB2 grep -q SMB3 /etc/samba/smb.conf || sed -i '/\[global\]/aprotocol = SMB3' /etc/samba/smb.conf + + # disable the [homes] share by default + sed -i /\[homes\]/s/homes/homes_disabled_ncp/ /etc/samba/smb.conf } configure() |