Description of problem:
From Samba 4.11.0, the SMB1 protocol is disabled defaultly. I think we need a doc to show this.
The method to enable SMB1 in RHEL-8.2 is add "min protocol=NT1" in smb.conf global section.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mount //localhost/cifs cifs -o vers=1.0
Marc, what is the best way to document this, just update the RHEL 8.2 docs?
I would suggest:
1) Adding a short section "Configuring the minimum SMB protocol version supported by a Samba server" to the Samba server docs (https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/deploying_different_types_of_servers/). This section could mention the new default in RHEL >=8.2 and provide a procedure how to set "server min protocol".
2) Adding a 8.2 Release Note that tells the user about the new default. We can either list the new default in the Samba rebase RN or, if it's important enough, write a separate RN just about the new default. I would prefer the latter, because it may break several old clients, such as scanner devices which store files on a Samba share.
The docs about mounting an SMB share (https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/assembly_mounting-an-smb-share-on-red-hat-enterprise-linux_managing-file-systems) should be sufficient. For example, "7.7. Frequently used mount options" already mentions the "vers" mount option.
Andreas, what do you think about my suggestions?
Sounds like a perfect plan.
The documentation is now available on the Customer Portal:
New section about setting the minimum SMB version:
RN about disabled SMB1 protocol in Samba: