All Articles

How to Configure LDAP in Common Services

This video and code are for IBM Cloud Pak for Integration 2020.2.1 and OpenShift 4.4, which means that if you are using a different version, this may or may not work as expected.

In this article, I present to you two ways to achieve the same task: Configure LDAP in IBM Cloud Pak for Integration. The first one, using the web console and what it feels a more manual approach, and the second one, where you will execute a script that interacts with the IBM Common Services API.

In both methods, the OpenLDAP server used is deployed using this guide via Helm. As the guide explains, this is intended for testing and demonstration purposes and does not follow industry standards around security, in other words, use this chart on your own risk.

The video also includes the configuration of IAM Teams once the LDAP connection is ready.

Manual configuration

I decided to record the instructions to make it easier for you to go through the steps of configuring your LDAP server.

Script configuration

The main repository https://github.com/ccavazos/cp4i-iam-config is intended to contain other resources that help configuration of IAM services in Common Services but, for now, it only includes the ldap-connect script to create the connection.

If you are using the OpenLDAP server mentioned above with the default configuration, the default values of the script will work.