samba: Remove deprecated encrypt/null passwords options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-10-08 16:59:36 +01:00
parent 65deced182
commit 2a4ac08fcc
3 changed files with 2 additions and 4 deletions

View File

@@ -36,6 +36,8 @@ restore_backup ${NAME}
# Migrate configuration from Samba 3.6 to 4.x
sed -i /var/ipfire/samba/smb.conf \
-e "/^display charset =/d" \
-e "/^encrypt passwords =/d" \
-e "/^null passwords =/d" \
-e "/^socket options =/d" \
-e "/^syslog/d" \
-e "s/^security = share$/security = user/"