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 connectionConnect to the existing LDAP Server using the following parameters:
Server type: CustomBase DN: dc=ibm,dc=comBind DN: cn=admin,dc=ibm,dc=comBind 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 changeGroup ID map: *:cnUser ID map: *:uidGroup member ID map: groupOfUniqueNames:uniqueMember
Create LDAP provider
In the
CP4AIOPS
βHamburgerβ Menu selectAdministration
Select
Access Control
In the top right Click
Identity provider configuration
You might have to re-login with your admin user
In the top right Click
New Connection
Select
LDAP
from the dropdownClick
Next
Fill out the first section of fields:
Connection name: LDAPServer type: CustomBase DN: dc=ibm,dc=comBind DN: cn=admin,dc=ibm,dc=comBind DN password: P4ssw0rd!LDAP server URL: ldap://openldap.openldap:389Click
Test connection
. You should getSuccessful connection
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 changeGroup ID map: *:cnUser ID map: *:uidGroup member ID map: groupOfUniqueNames:uniqueMemberClick
Create
You should get a LDAP entry in the provider list
π TASK: Create a User in CP4AIOPS
π Documentation for the Task: Adding usersCreate a user in CP4AIOPS with Admin rights.
Create User
In the
CP4AIOPS
βHamburgerβ Menu selectAdministration
Select
Access Control
In the top right Click
Add users
In the search box type
demo
Click on the
demo/demo/demo@ibm.com
lineClick
Next
Click
Assign roles directly
Click
Next
Check
Administrator
roleClick
Next
Click
Add
Login as Demo
In
CP4AIOPS
, click on the round image in the top right and selectLog Out
Click
Logout
Click
Log in
Enter credentials
demo
andP4ssw0rd!
(this information is stored in the LDAP server)Welcome back in CP4AIOPS as user Demo