Repository navigation
ldap: use ldaps:// scheme when adding LDAP config if SSL is enabled - #14452
Open
weizhouapache wants to merge 2 commits into
Open
weizhouapache wants to merge 2 commits into
weizhouapache wants to merge 2 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14452 +/- ##
============================================
- Coverage 20.68% 20.68% -0.01%
Complexity 21724 21724
============================================
Files 6489 6489
Lines 590173 590173
Branches 72362 72362
============================================
- Hits 122060 122054 -6
- Misses 454842 454850 +8
+ Partials 13271 13269 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
DaanHoogland
approved these changes
Oct 26, 2026
DaanHoogland
left a comment
Contributor
There was a problem hiding this comment.
clgtm, but should we make the protocol selection a utility method to be used in both (or all) places?
Member
Author
good point. @DaanHoogland change is done. |
addConfigurationInternal always built the connectivity-test provider URL with the plain ldap:// scheme, even when domain/global SSL (truststore) settings are configured, unlike LdapConfiguration.getProviderUrl() used elsewhere which already selects ldaps:// based on SSL status.
weizhouapache
force-pushed
the
4.22-fix-ldaps
branch
from
October 26, 2026 10:59
de9dcbd to
cb86246
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the issue below:
addConfigurationInternal always built the connectivity-test provider URL with the plain ldap:// scheme, even when domain/global SSL (truststore) settings are configured, unlike LdapConfiguration.getProviderUrl() used elsewhere which already selects ldaps:// based on SSL status.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?