spring-projects / spring-integration-extensions

The Spring Integration Extensions project provides extension components for Spring Integration
http://www.springintegration.org/
279 stars 265 forks source link

GH-208 Enhancement to allow setting of SMB min/max versions #209

Closed GregBragg closed 5 years ago

GregBragg commented 5 years ago

Fixes #208

This will allow SmbSessionFactory to set the min/max versions of SMB as so: smbSession.setSmbMinVer(DialectVersion.SMB210); smbSession.setSmbMaxVer(DialectVersion.SMB311);

instead of the built in defaults of SMB1/SMB210. Doing so will allow the use of SMB3 dialects if the user so desires based on what the Windows server allows during protocol transport negotiation.

artembilan commented 5 years ago

OK. I have polished the master build config a little bit: https://github.com/spring-projects/spring-integration-extensions/commit/e91cb382e7c4c07505c25f8701c1cd934095eca1

Please, consider to rebase also.

Thanks

GregBragg commented 5 years ago

Ok will do... I'll update everything by next Monday. Don't wait for me for your latest 1.2 build.

GregBragg commented 5 years ago

Everything has been updated based on your review comments, rebased my fork based on your changes in master, everything builds and tests correctly.