<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/j-interop/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/j-interop/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/j-interop/discussion/</id><updated>2023-08-01T02:34:13.146000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>jIntegra and ntlmv2</title><link href="https://sourceforge.net/p/j-interop/discussion/600730/thread/109df1900f/?limit=25#5b34" rel="alternate"/><published>2023-08-01T02:34:13.146000Z</published><updated>2023-08-01T02:34:13.146000Z</updated><author><name>Sheida</name><uri>https://sourceforge.net/u/shsadrai/</uri></author><id>https://sourceforge.net101e92e3ad75f5912c6b701b06652429c1ac769f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;They just changed our domain controller security to accept ntlmv2 only. Our code using jIntegra is not working to authenticate anymore. Please advise.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unable to connect COM server - Exception java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/553ed19eed/?limit=25#dca3" rel="alternate"/><published>2023-07-20T07:00:53.261000Z</published><updated>2023-07-20T07:00:53.261000Z</updated><author><name>prabhat</name><uri>https://sourceforge.net/u/prabhatdubey/</uri></author><id>https://sourceforge.netd574ed20084209655091208ce155c423bb5da930</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We are trying to connect COM server from linux machine using J-interop but after session is created it starts to connect to COM server. After response is sent from COM server it throws Exception occurred and ArrayIndexOutOfBoundsException. Following is error stack trace -&lt;br/&gt;
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16&lt;br/&gt;
        at jcifs.util.Encdec.dec_uint32le(Encdec.java:90)&lt;br/&gt;
        at ndr.NdrBuffer.dec_ndr_long(NdrBuffer.java:146)&lt;br/&gt;
        at ndr.NetworkDataRepresentation.readUnsignedLong(NetworkDataRepresentation.java:64)&lt;br/&gt;
        at org.jinterop.dcom.core.JIRemoteSCMActivator$RemoteCreateInstance.read(JIRemoteSCMActivator.java:642)&lt;br/&gt;
        at ndr.NdrObject.decode(NdrObject.java:36)&lt;br/&gt;
        at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:137)&lt;br/&gt;
        at rpc.Stub.call(Stub.java:113)&lt;br/&gt;
        at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:645)&lt;br/&gt;
        at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:496)&lt;br/&gt;
        at org.jinterop.dcom.core.JIComServer.&amp;lt;init&amp;gt;(JIComServer.java:429)&lt;br/&gt;
        at org.jinterop.dcom.test.COMServer.&amp;lt;init&amp;gt;(wmicom.java:28)&lt;br/&gt;
        at org.jinterop.dcom.test.COMServer.main(wmicom.java:67)&lt;br/&gt;
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br/&gt;
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)&lt;br/&gt;
        at jdk.compiler/com.sun.tools.javac.launcher.Main.execute(Main.java:404)&lt;br/&gt;
        at jdk.compiler/com.sun.tools.javac.launcher.Main.run(Main.java:179)&lt;br/&gt;
        at jdk.compiler/com.sun.tools.javac.launcher.Main.main(Main.java:119)&amp;lt;/init&amp;gt;&amp;lt;/init&amp;gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;How to fix this? Please anyone help.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>Unable to connect AS400 application with PC5250 emulator using J interop</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/b848e4518e/?limit=25#28c8" rel="alternate"/><published>2023-04-18T13:35:54.961000Z</published><updated>2023-04-18T13:35:54.961000Z</updated><author><name>MTR SS</name><uri>https://sourceforge.net/u/tarak/</uri></author><id>https://sourceforge.net1634535aca0da4741a9a35a90037c2bb0545f4ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We recently changed our java environment from x32 bit to x64 bit. In 32 bit environment, we used Jacob library to connect with AS400 (PC5250 Emulator) but that is not working after changing java to x64bit. I found that J-Interop is alternative library for Jacob. So could you please guide us how to connect AS400 app using J-Interop library.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I raise the activation authentication level to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/731d99133f/?limit=25#7ff2" rel="alternate"/><published>2023-03-19T08:28:18.306000Z</published><updated>2023-03-19T08:28:18.306000Z</updated><author><name>devaskim</name><uri>https://sourceforge.net/u/devaskim/</uri></author><id>https://sourceforge.netdbffd9188de39dff3887ca10358c729da6dda44b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;First of all, thanks guys for sharing your fixes.&lt;br/&gt;
Could you explain me how to rebuild the project? I didn't find any build script in the source tree.&lt;br/&gt;
Thanks in advance&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I raise the activation authentication level to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/731d99133f/?limit=25#1086" rel="alternate"/><published>2022-12-22T09:33:19.146000Z</published><updated>2022-12-22T09:33:19.146000Z</updated><author><name>Tirumala</name><uri>https://sourceforge.net/u/tirumala-m/</uri></author><id>https://sourceforge.netd11dcd58813fc272ebdfc6df1f9e72b9bccbb39c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Phill, Thank you for sharing  info...&lt;/p&gt;
&lt;p&gt;We are facing issue with Windows server 2022 DC and need to resolve this as so many customers are impacting for this.&lt;/p&gt;
&lt;p&gt;We have updated the our application with latest j-interop-ng-3.5.0.jar and able to see that auth level was increasing to packet privacy. But still WMI test connection was failing with error code 0x80010111 which says RPC_E_INVALID_HEADER: OLE received a packet with an invalid header.&lt;/p&gt;
&lt;p&gt;The logs trace was&lt;br/&gt;
Error reading NetBios: Message not found for errorCode: 0x80010111&lt;br/&gt;
org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x80010111&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:568)&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:485)&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.&amp;lt;init&amp;gt;(JIComServer.java:446)&lt;br/&gt;
    at com.analyse.WMITest.getWMILocatorAndConnect(WMITest.java:35)&lt;br/&gt;
    at com.analyse.WMITest.main(WMITest.java:85)&lt;br/&gt;
Caused by: org.jinterop.dcom.common.JIRuntimeException: Message not found for errorCode: 0x80010111&lt;br/&gt;
    at org.jinterop.dcom.core.JIRemActivation.read(JIRemActivation.java:149)&lt;br/&gt;
    at ndr.NdrObject.decode(NdrObject.java:32)&lt;br/&gt;
    at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:111)&lt;br/&gt;
    at rpc.Stub.call(Stub.java:112)&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:559)&lt;br/&gt;
    ... 4 more&amp;lt;/init&amp;gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;anyone&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;having&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;idea&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;this&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;resolve&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;possible&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;solution&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;please&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;do&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;needful&lt;/span&gt;.&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="nv"&gt;Thanks&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;advance&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;..&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>How can I raise the activation authentication level to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/731d99133f/?limit=25#8332/10aa" rel="alternate"/><published>2022-12-15T15:46:11.132000Z</published><updated>2022-12-15T15:46:11.132000Z</updated><author><name>Phil Harron</name><uri>https://sourceforge.net/u/pgharron/</uri></author><id>https://sourceforge.neta19a06d0d78484d4e2e1bb4a57ff9c57219ac3be</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I gave up trying it with Windows 2022.  I've had better success with Windows Server 2019 which in my case has DCOM hardening switched on.  With the changes to the j-interop (which I have made a PR for on GitHub &lt;a href="https://github.com/skyghis/j-interop-ng" rel="nofollow"&gt;https://github.com/skyghis/j-interop-ng&lt;/a&gt;) it can connect and activate my DCOM Server.&lt;br/&gt;
Good luck!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I raise the activation authentication level to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/731d99133f/?limit=25#8332" rel="alternate"/><published>2022-11-15T13:10:29.217000Z</published><updated>2022-11-15T13:10:29.217000Z</updated><author><name>Tirumala</name><uri>https://sourceforge.net/u/tirumala-m/</uri></author><id>https://sourceforge.netd1306912af7d5b8b6d6ec4c37377541702311700</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Everyone,&lt;/p&gt;
&lt;p&gt;Recently Microsoft latest patch (8 Nov 2022) was released which was mentioned in the below link. &lt;a href="https://support.microsoft.com/en-us/topic/kb5004442-manage-changes-for-windows-dcom-server-security-feature-bypass-cve-2021-26414-f1400b52-c141-43d2-941e-37ed901c769c." rel="nofollow"&gt;https://support.microsoft.com/en-us/topic/kb5004442-manage-changes-for-windows-dcom-server-security-feature-bypass-cve-2021-26414-f1400b52-c141-43d2-941e-37ed901c769c.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This patch automatically raises the authentication level RPC_C_AUTHN_LEVEL_PKT_INTEGRITY. Most Windows DCOM client applications will automatically work with DCOM hardening change on server side without any modification to the DCOM client applications.&lt;/p&gt;
&lt;p&gt;We have installed this latest patch in windows server 2022(in DC) and still WMI test connection was failed and 10036 error events in DC event viewer.&lt;/p&gt;
&lt;p&gt;Anyone having any idea and update on this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I raise the activation authentication level to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/731d99133f/?limit=25#40aa/df33" rel="alternate"/><published>2022-11-04T14:12:29.618000Z</published><updated>2022-11-04T14:12:29.618000Z</updated><author><name>Phil Harron</name><uri>https://sourceforge.net/u/pgharron/</uri></author><id>https://sourceforge.netfb907fd661a4a077c7a3d218f635b2dd2c8414ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Tirumala,  As mentioned, I'm experiencing exactly the same issue.  I've asked the creators of the COM object we use to try it out on Windows server 2022 and am awaiting their reply.  Maybe they need to provide an software update. &lt;/p&gt;
&lt;p&gt;Failing that I guess it could be a question that needs to raised with someone at Microsoft?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I raise the activation authentication level to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/731d99133f/?limit=25#40aa" rel="alternate"/><published>2022-11-01T08:28:58.401000Z</published><updated>2022-11-01T08:28:58.401000Z</updated><author><name>Tirumala</name><uri>https://sourceforge.net/u/tirumala-m/</uri></author><id>https://sourceforge.neta76d9438b1a8ce4b8f990b250bb60f4a8d11750f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone,&lt;br/&gt;
We also facing similar problem with windows server 2022 and set the sign and seal flags to true before init() as mentioned above and raise the auth level to packet privacy (6). Now didn't get the error events 10036 in windows event log. but still we are getting access denied error &lt;span&gt;[dcerpc.cn_status: nca_s_access_denied (0x00000005)]&lt;/span&gt;. Anyone please help to resolve this issue.&lt;/p&gt;
&lt;p&gt;Catching JIException in initialise()...5 Exception message --&amp;gt; Access is denied, please make sure that the domain/username/password are correct. &lt;span&gt;[0x00000005]&lt;/span&gt;&lt;br/&gt;
Error reading NetBios: Access is denied, please make sure that the domain/username/password are correct. &lt;span&gt;[0x00000005]&lt;/span&gt;&lt;br/&gt;
org.jinterop.dcom.common.JIException: Access is denied, please make sure that the domain/username/password are correct. &lt;span&gt;[0x00000005]&lt;/span&gt;&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:564)&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:483)&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.&amp;lt;init&amp;gt;(JIComServer.java:450)&lt;br/&gt;
    at com.analyse.WMITest.getWMILocatorAndConnect(WMITest.java:35)&lt;br/&gt;
    at com.analyse.WMITest.main(WMITest.java:85)&lt;br/&gt;
Caused by: rpc.FaultException: Received fault. (unknown)&lt;br/&gt;
    at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:136)&lt;br/&gt;
    at rpc.Stub.call(Stub.java:117)&lt;br/&gt;
    at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:560)&lt;br/&gt;
    ... 4 more&amp;lt;/init&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I raise the activation authentication level to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY</title><link href="https://sourceforge.net/p/j-interop/discussion/600729/thread/731d99133f/?limit=25#0188/d526" rel="alternate"/><published>2022-10-19T13:02:19.768000Z</published><updated>2022-10-19T13:02:19.768000Z</updated><author><name>Phil Harron</name><uri>https://sourceforge.net/u/pgharron/</uri></author><id>https://sourceforge.neted0743f1a2a826ad6d60abcfe41c9c65f303bb2d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Tobias, did you ever find a solution - I am facing a similar problem.&lt;br/&gt;
Many thanks&lt;br/&gt;
Phil&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>