Improvements in SMB2 dialect negotiation #2208
There are a few weaknesses in the current handling of SMB 2 dialect negotiation:
This proposed code implements the following changes:
@cldrn In some cases it was not clear why the current code was designed this way so there is a decent chance that I have missed some important aspect. Could you please review?
This is expensive if the target does not support lower dialect revisions