smbclient fails after disabling SMBv1 on Windows server
This document (7019892) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 11 SP3
SUSE Linux Enterprise Server 11 SP2
SUSE Linux Enterprise Server 11 SP1
You will get the error:
"protocol negotiation failed: NT_STATUS_CONNECTION_RESET"
This is because the Windows server which has been configured to only allow SMBv2 will TCP RST the connection.
Adding "-m SMB2" parameter, to the smbclient command will result in the following error:
"Unrecognised protocol level SMB2"
Samba 4.x which ships with SLES 12 does support SMBv2. (Durable handles support was added in 4.0.0)
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7019892
- Creation Date: 25-May-2017
- Modified Date:23-Feb-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org