webMethods

 View Only
Expand all | Collapse all

Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

  • 1.  Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

    Posted Mon September 21, 2020 01:40 PM

    Hi Folks,

    I’m looking for how to consume a REST service that employs Windows Integrated Authentication, from an Integration Server 10.3 hosted in a Linux box.
    From the ‘10.3 IS Administrators Guide’, page 1170, says

    “[…] When acting as a client, Integration Server responds to
    an NTLM challenge from a web server with the appropriate authentication credentials,
    whether Integration Server runs on Windows, UNIX, or another supported platform.”

    Having this said, has anyone got success in consuming a REST service that requires NTLM auth, from an IS [10.3] running on a Linux box?

    Additional info:

    • during the attempts, we’ve switched the authentication method to use Basic Auth and the IS consumes the service (through the pub.client:http service) swiftly. Therefore, the issue is indeed the authentication;
    • switching the auth method back to “Windows Integrated Authentication” it refuses to work, throwing error (the error message is not the original one, it is ‘wrapped’, saying that “non-trusted login is not accepted”);
    • and one of the tests involved setting the pub.client:http’s input as below, and it didn’t work out.
    auth/type = "NTLM"
    auth/user =  "<domain>\<username>"
    

    So… any thoughts?


    #webMethods
    #NTLM
    #Linux


  • 2.  RE: Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

    Posted Tue February 16, 2021 01:26 AM

    Hi Feng Sian,
    What is the IS Core fix level? Can you try using DOMAIN/user or user@DOMAIN format while sending the request via pub.client:http?


    #NTLM
    #webMethods
    #Linux


  • 3.  RE: Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

    Posted Tue February 16, 2021 01:27 AM

    (post withdrawn by author, will be automatically deleted in 24 hours unless flagged)


    #NTLM
    #webMethods
    #Linux


  • 4.  RE: Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

    Posted Tue February 16, 2021 01:29 AM


  • 5.  RE: Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

    Posted Thu March 04, 2021 12:56 PM

    Sorry for the late response.

    It is on IS_10.3_Core_Fix8.
    I’ve tried both formats (DOMAIN/user and user@DOMAIN) but none worked…


    #webMethods
    #Linux
    #NTLM


  • 6.  RE: Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

    Posted Thu March 04, 2021 03:16 PM

    I assume you tried domain\user (backslash, not slash).

    Do you have access to the original message? I’ve had to learn over the years (repeatedly :slight_smile: ) to trust the error message. It often indicates exactly what the issue but we often misinterpret. Perhaps the original message will trigger an idea from someone.

    The BIS reference for pub.client:http has this description:

    When using NTLM, Integration Server supports authentication for both HTTP and
    HTTPS. Web server providing NTLM authentication must be configured to return the
    response header WWW-Authenticate: NTLM and optionally the header WWW-Authenticate:
    Negotiate. If the NTLM server returns only WWW-Authenticate: Negotiate header, then
    authentication cannot proceed.


    #NTLM
    #webMethods
    #Linux


  • 7.  RE: Consuming a REST service with Windows Integrated Auth (NTLM) from Integration Server 10.3 on Linux

    Posted Thu March 04, 2021 11:55 PM

    Hi @Feng_Sian5 , I would suggest to try again with latest IS 10.3 Core fix (IS_10.3_Core_Fix14) and with format I mentioned earlier.


    #NTLM
    #webMethods
    #Linux