LDAP
LDAP plugin is available in ReportPortal on the Plugins page.
In a version 24.2, two step flow of adding LDAP integration is implemented.
To set up access with LDAP:
- Log in to the ReportPortal as an ADMIN user.
- Open the menu at the bottom by clicking on the user’s icon.
- Click the 'Administrate' link.
- Click the 'Plugins' from the left-hand sidebar.
- Click on the 'LDAP' tab.
- Click on 'Add new integration'.
- Fill in the necessary fields:
1. Server settings
'URL' (mandatory field): text
'Base DN' (mandatory field): text
'Manager DN': text
'Manager password': text
'User DN pattern': text
'User search filter': text
'Group search base': text
'Group search filter': text
'Password encoder type': dropdown
In a version 24.2, PBKDF2 encryption type has been added to the list of possible encryptions for LDAP integration. Now have the following options for password encoding type:
- No - the password is not encoded
- PLAIN
- SHA
- LDAP_SHA
- MD4
- MD5
- PBKDF2_SHA1
- PBKDF2_SHA256
- PBKDF2_SHA512
On the LDAP provider side, we encrypt the password using one of the selected types. When we enter the password, we encrypt it using the same method and then compare it with the encrypted password stored by the LDAP provider.
2. Field settings
'Email attribute' (mandatory field): text
'Name attributes mode': dropdown
'Full name attribute / First name & Last name': options
'Photo attribute': text
You can create LDAP integration either with 'Full name attribute' (if you select 'Full name' option in the 'Name attributes mode' dropdown) or with separate fields for 'First name' and 'Last name' (if you select 'First & last name' option in the 'Name attributes mode' dropdown).
You can provide a valid attribute for 'First name' and 'Last name'. When the user logs in with LDAP for the first time, their full name will be saved as the combination of the First name and Last name.
Old integrations will work correctly. You can change the 'Name attributes mode' for old integrations from Full name to First & Last name.
- Click the 'Create' button.
Now, all users of LDAP will have access to the ReportPortal instance.
To access ReportPortal, users should use their domain credentials (login and password).
You can edit your LDAP integration by clicking pencil icon:
If you are experiencing issues, check the LDAP connection.