Add GUI option to easily disable Samba's NetBIOS support

Description

I recently discovered on the forum that I could set samba aux paramaters as follows to disable NetBIOS:

disable netbios = yes
smb ports = 445

If I correctly understand https://en.wikipedia.org/wiki/Server_Message_Block#Features then it seems that NetBIOS support is not needed if all computers are running Windows Vista or newer.

Disabling NetBIOS reduces the attack surface of one's FreeNAS server, because an entire port is closed.

Therefore, it would be nice to have a GUI method to disable NetBIOS. (I'd also argue it should be disabled by default.)

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Sean McBride 
June 1, 2021 at 6:41 PM

OK, absent any stated preference, I created another ticket: https://jira.ixsystems.com/browse/NAS-110851

Sean McBride 
May 26, 2021 at 1:32 AM

Thanks for your reply.  Could you reopen this ticket then please?  The original description still applies: i.e. port 139 is still open. Thanks.

Andrew Walker 
May 26, 2021 at 12:09 AM

nmbd and netbios-over-tcp are two separate things. I suppose I could disable NBT when we're SMB2+.

Sean McBride 
May 25, 2021 at 10:16 PM

friendly ping...

Is it preferable that I create a new ticket?

Sean McBride 
May 14, 2021 at 9:55 PM

So I just portscaned my TrueNAS server, and port 139 is closed.  Now that I've been running 12 for a while, I'm cleaning through my own docs, and I just removed these aux parameters that I had set ages ago:

disable netbios = yes
smb ports = 445

then I portscanned myself again, and now port 139 is open.

Yet Network > Global Configuration has NetBIOS-NS off.

So it appears something is not working here...

Duplicate

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created April 10, 2019 at 1:04 AM
Updated July 1, 2022 at 4:32 PM
Resolved August 7, 2019 at 12:49 PM