Allow Multiple SMB Dialects#35
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Thanks for the PR. The rationale makes sense. Pinning to a single dialect ( Before merging I want to verify the code paths this newly activates. Today everything on Holding off on merge until I've confirmed those paths. Will follow up here. |
|
Verified the code paths and they hold up. I built a Samba dialect matrix (one server pinned to each of SMB 2.0.2, 2.1.0, 3.0.0, 3.0.2, 3.1.1, plus a 3.1.1 server with encryption required), all with mandatory signing, and ran the actual smbclient tool with this change applied:
So removing the pinned dialect is safe across the whole 2.0.2 to 3.1.1 range, including the SMB3 signing and encryption paths that were never active while we forced 2.1.0. Merging. Thanks for the fix. |
|
Glad it Works ! |
Sticking to SMB 2.1.0 causes SMB Negotiate to fail on old windows server versions, the smb2 package allows for more if not specified