mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
samba: Update SECURITY option in settings, too
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -40,5 +40,8 @@ sed -i /var/ipfire/samba/smb.conf \
|
|||||||
-e "/^syslog/d" \
|
-e "/^syslog/d" \
|
||||||
-e "s/^security = share$/security = user/"
|
-e "s/^security = share$/security = user/"
|
||||||
|
|
||||||
|
sed -i /var/ipfire/samba/settings \
|
||||||
|
-e "s/^SECURITY=share/SECURITY=user/"
|
||||||
|
|
||||||
# Start the service
|
# Start the service
|
||||||
/usr/local/bin/sambactrl smbstart
|
/usr/local/bin/sambactrl smbstart
|
||||||
|
|||||||
Reference in New Issue
Block a user