Cloud Pak for Data

Cloud Pak for Data

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
Expand all | Collapse all

Configure LDAP as local service docker image from osixia/openldap, unable to connect with CP4D.

  • 1.  Configure LDAP as local service docker image from osixia/openldap, unable to connect with CP4D.

    Posted Wed July 08, 2020 09:16 AM

    Hi Community,

    So basically what i am trying to do is run a docker container in master node of the cluster (OpenLdap image) and then connect CP4D to him using Configure LDAP from Administer.
    When i am configure the LDAP on CP4D using a set of parameters for connection which i am using for connection it is failing on testing the connection.

    "Failed to validate LDAP. Check your LDAP configuration, username, and password."

    For that a test was made with Apache Directory Studio, to the 
    running image and using the port forwarding to test connection to the LDAP that is working successful :)

    !! Another try was with an external VM containing OpenLdap and the situation was the same as above.

    Where do i have a mistake ?
    What do i miss ?



    Knowledge used :

    https://www.ibm.com/support/knowledgecenter/SSQNUZ_2.5.0/cpd/admin/ldap.html

    https://www.ibm.com/support/knowledgecenter/en/SSPREK_9.0.7/com.ibm.isam.doc/admin/concept/con_docker_user_registry.html

    https://github.com/osixia/docker-openldap

    CP4D 2.5 on AWS



    ------------------------------
    Alex Marton
    ------------------------------

    #CloudPakforDataGroup


  • 2.  RE: Configure LDAP as local service docker image from osixia/openldap, unable to connect with CP4D.

    Posted Wed July 08, 2020 09:58 AM
      |   view attached

    Hi,

    Debugging the LDAP issues is quite a challenge in CP4D.

    I came up with the following procedure (see attached file), if you are not comfortable with doing it, please open a support ticket.

    Thanks



    ------------------------------
    TOMASZ HANUSIAK
    ------------------------------

    Attachment(s)

    pptx
    Ldap.pptx   3.08 MB 1 version


  • 3.  RE: Configure LDAP as local service docker image from osixia/openldap, unable to connect with CP4D.

    Posted Wed July 08, 2020 10:06 AM
    Let me have a try :) right now i am at the end of my powers. I will try everthing.

    ------------------------------
    Alex Marton
    ------------------------------