Skip to main contentIBM Β AIOps Training

Configure LDAP

In this section you will connect to the existing LDAP Server and create a user with Administrative rights:

πŸš€ TASK: Create the LDAP Connection

🌏 Documentation for the Task: Configuring LDAP connection

Connect to the existing LDAP Server using the following parameters:

Server type: Custom
Base DN: dc=ibm,dc=com
Bind DN: cn=admin,dc=ibm,dc=com
Bind DN password: P4ssw0rd!
LDAP server URL: ldap://openldap.openldap:389
Group filter: (&(cn=%v)(objectclass=groupOfUniqueNames))
User filter: (&(uid=%v)(objectclass=Person)) <-- Thats the only value you should have to change
Group ID map: *:cn
User ID map: *:uid
Group member ID map: groupOfUniqueNames:uniqueMember
  • Create LDAP provider

    1. In the CP4AIOPS β€œHamburger” Menu select Administration

    2. Select Access Control

      image
    3. In the top right Click Identity provider configuration

    4. You might have to re-login with your admin user

    5. In the top right Click New Connection

    6. Select LDAP from the dropdown

    7. Click Next

    8. Fill out the first section of fields:

      Connection name: LDAP
      Server type: Custom
      Base DN: dc=ibm,dc=com
      Bind DN: cn=admin,dc=ibm,dc=com
      Bind DN password: P4ssw0rd!
      LDAP server URL: ldap://openldap.openldap:389
      image
    9. Click Test connection. You should get Successful connection

    10. Fill out the rest of the fields:

      Group filter: (&(cn=%v)(objectclass=groupOfUniqueNames))
      User filter: (&(uid=%v)(objectclass=Person)) <-- Thats the only value you should have to change
      Group ID map: *:cn
      User ID map: *:uid
      Group member ID map: groupOfUniqueNames:uniqueMember
      image
    11. Click Create

    12. You should get a LDAP entry in the provider list

      image

πŸš€ TASK: Create a User in CP4AIOPS

🌏 Documentation for the Task: Adding users

Create a user in CP4AIOPS with Admin rights.

  • Create User

    1. In the CP4AIOPS β€œHamburger” Menu select Administration

    2. Select Access Control

      image
    3. In the top right Click Add users

    4. In the search box type demo

    5. Click on the demo/demo/demo@ibm.com line

    6. Click Next

    7. Click Assign roles directly

    8. Click Next

    9. Check Administrator role

    10. Click Next

    11. Click Add

    Login as Demo

    1. In CP4AIOPS, click on the round image in the top right and select Log Out

      image
    2. Click Logout

    3. Click Log in

    4. Enter credentials demo and P4ssw0rd! (this information is stored in the LDAP server)

    5. Welcome back in CP4AIOPS as user Demo

Page last updated: 03 November 2022