There's little point to supporting it and it's used in attacks. Investigate whether it can be disabled in Samba. It may be sufficient to just disable the firewall rules for ports 137, 138, and 139. There will be no support in the DHCP role.
To disable in Windows:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\TCPIP_GUID (TCPIP_GUID will be unique PER adapter in your computer).
Edit the data for NetbiosOptions and set the parameter to 2 (it will be 0 by default).
Perform the above steps for each adapter in the computer.
https://10dsecurity.com/saying-goodbye-netbios/
There's little point to supporting it and it's used in attacks. Investigate whether it can be disabled in Samba. It may be sufficient to just disable the firewall rules for ports 137, 138, and 139. There will be no support in the DHCP role.
To disable in Windows:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\TCPIP_GUID
(TCPIP_GUID
will be unique PER adapter in your computer).NetbiosOptions
and set the parameter to2
(it will be 0 by default).