The Samba-Bugzilla – Bug 12881
smbclient: enhancement request: add negotiated protocol (SMB1, SMB2, SMb3) in output
Last modified: 2017-08-30 07:14:38 UTC
Since smbclient is now defaulting to "max protocol = smb3", it would be useful for smbclient to output the negotiated protocol.
smbclient -d <you.decide> ...
Remote server max protocol SMBx, local client max protocol SMBy, negotiated SMBz
Try "help" do get a list of possible commands.
Right now, even with -d 10, it's not very clear which protocol is negotiated and why.
We can add "negotiated dialect[SMB2_10] against server[172.31.9.133]" with log level 4 similar to the "session request ok" message.
The real list would be to add/extend commands like "listconnect" or "showconnect", but that needs more work as we would want a lot more details
in addition to the selected dialect.
This the fixes from bug #12863 this is no longer blocking 4.7.0.
We keep this open for the potential "listconnect" or "showconnect" enhancements.