Activity for Tobias Neubert

  • Tobias Neubert Tobias Neubert posted a comment on discussion Open Discussion

    Hi Vikram, can you please help me with this? I found out more: It is the ping requests and the SCMActivator that produces the error messages in the windows 10 server I managed to get the ping requests work without errors by setting the default of rpc.ntlm.sign to true in JIComOxidStub But the SCMActivator does not work that way. I debugged into the code and think that I have to set rpc.ntlm.ntlm2 to true in the JIComServer in order to let the DefaultConnection signAndSeal the ndr. But doing so results...

  • Tobias Neubert Tobias Neubert posted a comment on discussion Open Discussion

    Ok, changing the rpc.ntlm.sign property to true makes it worse. So let me ask: Is this the correct way of raising the activation authentication level? If so, what else do I have to do to prevent the access denied exception that I don't get if rpc.ntlm.sign is set to false. And if not, how do I raise the activation authentication level?

  • Tobias Neubert Tobias Neubert posted a comment on discussion Open Discussion

    Ah, ok, I found the list of error codes.

  • Tobias Neubert Tobias Neubert posted a comment on discussion Open Discussion

    Ok, where do you see that? And why should it be an access denied if the client does not get an access denied without setting the rpc.ntlm.sign to true? I am sorry, but I am not familiar with DCOM.

  • Tobias Neubert Tobias Neubert posted a comment on discussion Open Discussion

    Hi and thank you for your answer. I think I managed to find the property that controlls the authentication level: rpc.ntlm.sign. This property is false by default, I changed it to true. That way, the NtlmConnection creates a Type1 message (whatever this is) with the NtlmFlags.NTLMSSP_NEGOTIATE_SIGN set and a AuithenticationVerifier with the protectionLevel 5, which is rpc.Security.PROTECTION_LEVEL_INTEGRITY. But now my j-interop client throws the following exception with the suspicious unknown code...

  • Tobias Neubert Tobias Neubert posted a comment on discussion Open Discussion

    Hi everybody, my opc da server logs into the Windows Event Log the following message: The server-side authentication level policy does not allow the user OPCDASRV\user SID (...) from address x.x.x.x to activate DCOM server. Please raise the activation authentication level at least to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY in client application. How can I do that for my jinterop client? I am thankful for any hint, Tobias (This may have to do with kb5004442 microsoft describes that I have to raise the )

  • Tobias Neubert Tobias Neubert posted a comment on discussion j-Interop - DCOM Configuration

    Ok, I have patched the lib by changing not throwing an exception in JIRemActivation.read(ndr) as follows: hresult = ndr.readUnsignedLong(); if (hresult != 0) { //System.out.println("EXCEPTION FROM SERVER ! --> " + "0x" + Long.toHexString(hresult).substring(8)); //throw new JIRuntimeException(hresult); LOGGER.warn( "Unexpected NDR found. Expected {} to be 0 at index {}. Will continue anyway.", Long.toHexString(hresult), ndr.getBuffer().getIndex()); LOGGER.warn("Unexpected NDR is: {}", ndr.getBuffer().getBuffer());...

  • Tobias Neubert Tobias Neubert posted a comment on discussion j-Interop - DCOM Configuration

    No, unfortunately not as far as I can see. On the contrary, it makes me suspect, the j-interop code has to be changed: Then your best bet is to get this other big company to fix it if their software depends on it working. From a Microsoft point of view, you're using a 3rd party program of unknown origin and if it doesn't work, that not a MS problem.

  • Tobias Neubert Tobias Neubert posted a comment on discussion j-Interop - DCOM Configuration

    I am sorry, the title does not reflect the right windows 10 version. So I created a new topic because I do not know how to change the title.

  • Tobias Neubert Tobias Neubert posted a comment on discussion j-Interop - DCOM Configuration

    Hi, after updating my Windows 10 Enterprise to version 2004 (os build 19041.264, with the Windows Feature Experience Pack 120.2202.130.0), my Java client cannot connect anymore to the OPC DA server because it fails interpreting the NetworkDataRepresentation in JIRemActivation.read. As far as I can see, it reads the major and minor com version successfully but afterwards, it expects an unsigned long being 0, which is not, resulting in an JIRuntimeException. Now I wonder if it is possible that the...

  • Tobias Neubert Tobias Neubert modified a comment on discussion j-Interop - DCOM Configuration

    Hi, after updating my Windows 10 Enterprise to version 2004 (os build 19041.264, with the Windows Feature Experience Pack 120.2202.130.0), my Java client cannot connect anymore to the OPC DA server because it fails interpreting the NetworkDataRepresentation in JIRemActivation.read. As far as I can see, it reads the major and minor com version successfully but afterwards, it expects an unsigned long being 0, which is not, resulting in an JIRuntimeException. Now I wonder if it is possible that the...

  • Tobias Neubert Tobias Neubert posted a comment on discussion j-Interop - DCOM Configuration

    Hi, after updating my Windows 10 Enterprise to version 1909 (os build 18363.1440), my Java client cannot connect anymore to the OPC DA server because it fails interpreting the NetworkDataRepresentation in JIRemActivation.read. As far as I can see, it reads the major and minor com version successfully but afterwards, it expects an unsigned long being 0, which is not, resulting in an JIRuntimeException. Now I wonder if it is possible that the Windows update has changed something that breaks j-interop...

1