IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Unable to connect to LDAP server

  • 1.  Unable to connect to LDAP server

    Posted Tue January 10, 2023 06:05 PM

    What product/components do you use and which version/fix level are you on?

    MWS 10.5

    Is your question related to the free trial, or to a production (customer) instance?

    customer instance

    What are you trying to achieve?

    Please describe it in detail. Recently the password for service account user which we used to integrate MWS with LDAP has been expired and we got it reset on the application an week after that under “System > Service > Directory > Available Directory Services > LDAP_profile”. Post that MWS is restarted, but we’re still not able to connect to LDAP server

    Do you get any error messages? Please provide a full error message screenshot and log file.

    netscape.ldap.LDAPException: error result at netscape.ldap.LDAPConnection.checkMsg(LDAPConnection.java:4855) ~[com.netscape.ldap_0.0.0.20120518.jar:?] at netscape.ldap.LDAPConnection.simpleBind(LDAPConnection.java:1750) ~[com.netscape.ldap_0.0.0.20120518.jar:?] at netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1248) ~[com.netscape.ldap_0.0.0.20120518.jar:?] at netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1197) ~[com.netscape.ldap_0.0.0.20120518.jar:?] at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:941) ~[com.netscape.ldap_0.0.0.20120518.jar:?] at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:889) ~[com.netscape.ldap_0.0.0.20120518.jar:?] at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:1036) ~[com.netscape.ldap_0.0.0.20120518.jar:?] at com.webmethods.portal.portlet.wm_xt_ldapdirsvc.service.LdapDirServiceHelper.connectToLDAPConnection(LdapDirServiceHelper.java:209) [wm_xt_ldapdirsvc.jar:?] at com.webmethods.portal.portlet.wm_xt_ldapdirsvc.service.LdapDirServiceHelper.access$300(LdapDirServiceHelper.java:47) [wm_xt_ldapdirsvc.jar:?] at com.webmethods.portal.portlet.wm_xt_ldapdirsvc.service.LdapDirServiceHelper$LdapDirServiceChecker.run(LdapDirServiceHelper.java:421) [wm_xt_ldapdirsvc.jar:?]

    Have you installed all the latest fixes for the products and systems you are using?

    Not recently


    #webMethods
    #MWS-CAF-Task-Engine
    #Integration-Server-and-ESB
    #MyWebMethods


  • 2.  RE: Unable to connect to LDAP server

    Posted Tue January 10, 2023 10:05 PM

    Can you perform a telnet to LDAP server from your MWS VM? If MWS cannot reach LDAP it wont be able to connect.


    #MWS-CAF-Task-Engine
    #webMethods
    #MyWebMethods
    #Integration-Server-and-ESB


  • 3.  RE: Unable to connect to LDAP server

    Posted Tue January 10, 2023 10:14 PM

    Telnet was disabled on servers, I tired only ping and it was success


    #webMethods
    #MyWebMethods
    #Integration-Server-and-ESB
    #MWS-CAF-Task-Engine


  • 4.  RE: Unable to connect to LDAP server

    Posted Tue January 10, 2023 10:42 PM

    you could try curl.
    curl -v telnet://host:port


    #webMethods
    #Integration-Server-and-ESB
    #MyWebMethods
    #MWS-CAF-Task-Engine


  • 5.  RE: Unable to connect to LDAP server

    Posted Mon January 16, 2023 12:02 AM

    yes, I was able to telnet to the server.


    #MWS-CAF-Task-Engine
    #Integration-Server-and-ESB
    #MyWebMethods
    #webMethods


  • 6.  RE: Unable to connect to LDAP server

    Posted Wed January 18, 2023 11:33 AM

    Hi Nambi,

    then it is not a mere transport layer issue but something on the LDAP connection handshake.
    As Srikanth already requested provide us the logs showing the initalization (and hopefully an error message) of the LDAP connection.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB
    #MyWebMethods
    #MWS-CAF-Task-Engine


  • 7.  RE: Unable to connect to LDAP server

    Posted Mon January 16, 2023 12:03 AM

    yes, I was able to connect to the server via telnet


    #webMethods
    #MWS-CAF-Task-Engine
    #MyWebMethods
    #Integration-Server-and-ESB


  • 8.  RE: Unable to connect to LDAP server

    Posted Tue January 17, 2023 10:59 PM


  • 9.  RE: Unable to connect to LDAP server

    Posted Wed January 11, 2023 09:47 AM

    or you can try openssl:

    openssl s_client -showcerts -connect host:port


    #MyWebMethods
    #webMethods
    #MWS-CAF-Task-Engine
    #Integration-Server-and-ESB


  • 10.  RE: Unable to connect to LDAP server

    Posted Mon May 01, 2023 01:42 AM

    Hi @srikanth.prathipati1803 and @Holger_von_Thomsen , I tried to get the password keyed in and test it out from IS page.
    But when I tired getting below error

    javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090447, comment: AcceptSecurityContext error, data 775, v3839]

    and the respective team is saying the account is unlocked.


    #Integration-Server-and-ESB
    #MyWebMethods
    #webMethods
    #MWS-CAF-Task-Engine