Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- src/paks/samba/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/paks/samba/install.sh b/src/paks/samba/install.sh index 8b61298d5..22d74b93a 100644 --- a/src/paks/samba/install.sh +++ b/src/paks/samba/install.sh @@ -42,8 +42,12 @@ sed -i /var/ipfire/samba/smb.conf \ -e "/^syslog/d" \ -e "s/^security = share$/security = user/"
+# Migrate SECURITY to ROLE sed -i /var/ipfire/samba/settings \ - -e "s/^SECURITY=share/SECURITY=user/" + -e "s/^SECURITY=ADS/ROLE=member/" \ + -e "s/^SECURITY=server/ROLE=standalone/" \ + -e "s/^SECURITY=share/ROLE=standalone/" \ + -e "s/^SECURITY=user/ROLE=standalone/"
# Start the service /usr/local/bin/sambactrl smbstart