We are getting connection reset error when we are trying to connect to windows share using spring integration smb. We observed that we are getting this when we disabled smb1 in windows share.
Is there any way to know which smb version spring smb api's using or is there any way available to developer to select the version ( say smb1 or smb2 ) while making connection.
Please help
Spring-integration-smb uses JCifs which only supports SMBv1. It shouldn't be too hard to build a new Spring Integration connector which leverages SMBJ to support SMBv2.
Related
I have an Azure App Service with Stack General setting ASP.NET v4.7. However, in the web.config target runtime version is 4.5.1.
I have another Azure App Service which hosts a Linux container.
The first one is set to use TLS 1.2.
I am initiating requests from .NET App(first) to Linux container(second).
When the Second one, Linux container is set to use TLS 1.2 requests fail, but when set to TLS 1.0 requests process successfully.
Has anyone experienced this issue?
From the post it is tricky to narrow down on your issue but a couple of things you can try.
Ensure no hard coding of TLS version. On the contrary, you can try hardcoding the TLS version with ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;. Try to run. If it works, you'll have the clarity that there is not other issue and you need to switch to right .NET version.
Target your .NET Framework version 4.7 and above. You say your target runtime version is 4.5.1 which won't help sending requests with latest TLS version by default.
<system.web><httpRuntime targetFramework> in web.config should show the intended version of the .NET.
Last but not least it is always good to patiently read the doc and you might figure out the issue yourself.
I'm developping a nodejs web application and I want to know how to deploy the app on enterprise level not on the cloud (Heroku and similar).
Please keep the explanation as simple as possible as I'm not an expert. I think that the answer to this problem should include something about having a local enterprise network but I don't know the details.
The end result should be that any user inside the enterprise could for example open the browser at some specific link and use the application.
You literally just need a computer connected to the enterprise network and your application running there.
I'm wondering what version(s) of the SMB protocol that spring-integration-smb extension is currently supporting. I understand that Microsoft will be deprecating SMB1 soon (or already) and that only SMB2 and/or SMB3 will be supported in Windows Server. Does spring-integration-smb support SMB2/SMB3 protocol today?
I've been reviewing the spring-integration-smb and jcifs code base but I haven't been able to find this answer yet.
Currently the Spring Integration SMB extension is based on the `compile "org.codelibs:jcifs:1.3.18.3" and according some resources in the Internet it support only SMB1: Smb version 2 upgrade issues
However according the latest news of that project, we are good to tackle their new version with announced SMB2 and SMB3 support: https://github.com/codelibs/jcifs
Feel, free to raise an issue in GitHub project and we also are open to accept a contribution on the matter.
In case SMB3 is required there is also a commercial option that supports all SMB dialects named jNQ developed by Visuality Systems.
I've read that it's possible to monitor Wildfly with Nagios in links like this one and I also know that there are solutions that provide that service as well.
Does anybody knows how to do that, how to monitor Wildfly with Nagios, any recommendations on how to start? Any reference would be very appreciated.
You can consider using JSON based HTTP management API. Sample plugin (Python based) for JBossAS - standalone mode is available here https://github.com/aparnachaudhary/nagios-plugin-jbossas7. This should also work for WildFly.
Some details about WildFly HTTP Management API can be found here https://docs.jboss.org/author/display/WFLY9/The+HTTP+management+API
My team and I are currently doing a Worklight mobile project. One of our requirements is to retrieve data from MS CRM and Sharepoint via web service calls. The authentication mechanism that we are to make use of is Kerberos / Spnego.
We followed the instructions documented here, where we inserted the following into our HTTP adapter:
<authentication>
<spnego stripPortOffServiceName="true"/>
</authentication>
In addition, as mentioned in the same IBM site we have included the krb5.conf file into the ../server/conf directory in the project files.
However after invoking the adapter procedure, we encountered an error:
Runtime: Failed to create Kerberos login context
As there are very limited documentation around regarding Worklight working with Kerberos, we were unable to solve this issue. Hence we would like to seek for some help on this community. Is there something that we missed out on?
Unfortunately this type of configuration is not tested often at all and there are no more documentation on this subject matter. This will be discussed to see if documentation and testing can be improved.
The workaround that is currently used (by Desmond) is to continue using NTLM instead.