Closed GregBragg closed 5 years ago
I've updated the readme with some verbiage from https://spring.io/blog/2017/01/18/spring-integration-extension-for-smb-0-5-0-is-available so I hope you don't mind. It helped me out when I first started using this extension. Thanks!
Yes I saw that too and I was looking into it... It seems the authors of JCIF deprecated a whole class NtlmPasswordAuthentication, without any reason or suggestions of what else to use. I'll see what I can do.
Question: Why do we have this constructor in the code when the only class that is using it is SmbSessionTests? I think we can also deprecate it safely and I'll rewrite the other constructor to authenticate without using the other deprecated class in jCIFS.
public SmbShare(String url) throws IOException {
super(StringUtils.cleanPath(url));
}
Right, if underlying library doesn't provide such a feature any more, let's deprecate it from our side as well!
Thanks for digging all the out!
Ok well do you want me to change the test class also? Or can it be ignored?
Please, fix it. No reason to remove anything yet.
Thanks
The deprecated constructor issue in jCIFS has been addressed. I tested the snapshot build that I created in my own batch integration that this PR is now depending on with full debugging turned on and it is working perfectly for an SMB2 connection to a file server share.
Thanks! Much appreciated...
Merged as https://github.com/spring-projects/spring-integration-extensions/commit/376a34c03128c013ae063a0b1a3eae51fa3e176d after some minor polishing and upgrades.
@GregBragg ,
Thank you very much for the contribution; looking forward for more!
Your very welcome! When can I expect the new 1.1.0.RELEASE build created and pushed to the Maven Repo?
Let's hope today!
We have some stuff to do in other project and release that as well, then we can come back to this one.
If not today, then definitely on Friday, since we have more to release tomorrow.
Thanks for understanding!
Fixes https://github.com/spring-projects/spring-integration-extensions/issues/206
Updated dependent jCIFS library to support SMB2 and SMB3 protocols since SMB1 is no longer supported by the latest versions of Windows servers as it was deemed a security risk by Microsoft. SMB1 has been deprecated.