mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
samba4: update to 4.11.9
* update to 4.11.9 * remove merged upstream patches * disable netbios port 139 on 'DISABLE_NETBIOS' option or missing 'nmbd' * fixes CVE-2020-10700, CVE-2020-10704 Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
This commit is contained in:
@@ -50,6 +50,8 @@ smb_header() {
|
||||
printf "\n######### Dynamic written config options #########\n"
|
||||
if [ "$DISABLE_NETBIOS" -eq 1 ] || [ ! -x /usr/sbin/nmbd ]; then
|
||||
printf "\tdisable netbios = yes\n"
|
||||
# note: samba opens port 139 even if netbios is disabled via option above, so adjust listening ports
|
||||
printf "\tsmb ports = 445\n"
|
||||
fi
|
||||
|
||||
if [ "$DISABLE_ASYNC_IO" -eq 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user