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

Fixes #3775: apoc.load.ldap doesn't work with SSL #4010

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Mar 14, 2024

Fixes #3775

With the current library, it fails to use SSL, as it gives the same error reported on the issue, either using SSLUtil as currently done, or using a method similar to this, which I tried to use here: vga91@5585b91.

So I think the ideal solution is to change the library with the one already included in the LoadLdapTest.java and it works similarly to the current library.

The two libraries should report compatible results, since the setMaxResults(0) given in the old library is not necessary since with the new library the sizeLimit is 0. As well as typeOnly.

Removed ldapVersion = = LDAPConnection.LDAP_V3 since the library is already set in LdapV3.

For testing, I used a test container with openldap that already has TLS enabled.

@RobertoSannino RobertoSannino merged commit e96baba into dev Mar 14, 2024
4 checks passed
@RobertoSannino RobertoSannino deleted the issue-3775 branch March 14, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants