Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch LDAP plugin from Adldap2 to LdapRecord #2206

Merged
merged 8 commits into from
May 22, 2024

Conversation

williamjallen
Copy link
Collaborator

Our current LDAP provider, Adldap2, is no longer maintained, and has been superseded by LdapRecord, which is maintained by the same author and contains similar functionality to Adldap2. This PR makes the changes required to move our existing LDAP features from Adldap2 to LdapRecord.

A major change in this upgrade is the way LDAP is configured. I have made an attempt to keep the user-facing environment variable API the same, but there may be slight differences on some systems. CDash administrators should take care when applying this upgrade on systems with LDAP integration.

Setting up a local environment with LDAP has historically been a major pain point for developers. A significant amount of work remains to be done, but this PR lays the groundwork by including a basic LDAP container in the development environment, against which tests are run. Running tests against an actual live LDAP server provides a more complete end-to-end test of our LDAP integration than the previous mock-based approach. OpenLDAP is used in our test environment, and is the primary target for our LDAP integration. ActiveDirectory support is provided on a best-effort basis only.

@williamjallen williamjallen added this to the v3.5 milestone May 16, 2024
@williamjallen
Copy link
Collaborator Author

This PR lays the groundwork for #1983. That work is expected to follow in the coming weeks.

@williamjallen williamjallen added this pull request to the merge queue May 22, 2024
Merged via the queue into Kitware:master with commit 22b4ae5 May 22, 2024
6 checks passed
@williamjallen williamjallen deleted the ldap-refactor branch May 22, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants