Pages

September 28, 2025

Enabling SMBv1 in Samba

 Even though it's bad for security, sometimes you just have to do it.

  1.  Make sure you have a /etc/samba/smb.conf file. You would have gotten this if you installed smbclient. If you didn't, then do that now. 
  2. Edit /etc/samba/smb.conf and put somewhere below "[global]" the following line:
    client min protocol = NT1
  3.  The change will likely be instantaneous (i.e., no restart required). When you are done, be sure to comment the line out:
    # client min protocol = NT1

 References here and here.

 

No comments: