samba: Update SECURITY option in settings, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-10-08 16:54:31 +01:00
parent 160fc7b1ab
commit 65deced182

View File

@@ -40,5 +40,8 @@ sed -i /var/ipfire/samba/smb.conf \
-e "/^syslog/d" \
-e "s/^security = share$/security = user/"
sed -i /var/ipfire/samba/settings \
-e "s/^SECURITY=share/SECURITY=user/"
# Start the service
/usr/local/bin/sambactrl smbstart