How to disable SMB1 & enable SMB2

Post your Debian questions here.

How to disable SMB1 & enable SMB2

Postby berzo84 » August 21st, 2017, 5:17 am


I have inherited a Debian server running the following -

Distributor ID: Debian
Description: Debian GNU/Linux 6.0.7 (squeeze)
Release: 6.0.7
Codename: squeeze

Can anyone help me with disabling SMB1 and enabling SMB2 on this server.

I know i have to modify the the smb.conf file. But this file doesn't match some of the examples I see on the web.

Maybe my Debian is too old.

Posts: 1
Joined: August 21st, 2017, 5:11 am

Re: How to disable SMB1 & enable SMB2

Postby cynwulf » August 21st, 2017, 10:57 am

You would need to read the samba man pages.

Or search. This seems relevant: ... 175597669/

As your problem/proposed solution is not Debian specific you're not limited to "Debian resources" (which is lucky, because Debian resources tend to amount to a poor selection of badly maintained "wiki" pages and "fan" forums).

You certainly need to consider upgrading (reinstalling in your case) as you're running an ancient, unsupported and vulnerable OS release. Depending on what your experience is, moving to the latest Debian release, which now uses systemd, may be the right step. If you're unfamilar with systemd however, you might consider switching distribution (or operating system).

(I'd also suggest you ditch MS SMB altogether, as it's a flakey mess of security holes)
User avatar
Posts: 2526
Joined: April 26th, 2011, 2:46 pm

Return to General Questions

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest