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

[FIX] Fixes issue with LDAP pagination #1588

Merged
merged 1 commit into from
Jun 25, 2022

Conversation

sargreal
Copy link
Contributor

Fixes #1564, don't know how to test this though without ldap server

For some reason the method ldap_control_paged_result_response
does not update the cookie correctly, so the pagination is not stopped.
It probably has a reason that this method is deprecated now...

This is a temporary fix until support for php 7.2 is dropped since the
new way to paginate is only supported since 7.3:
https://www.php.net/manual/en/ldap.examples-controls.php#example-5599

Fixes nuxsmin#1564

For some reason the method ldap_control_paged_result_response
does not update the cookie correctly, so the pagination is not stopped.
It probably has a reason that this method is deprecated now...

This is a temporary fix until support for php 7.2 is dropped since the
new way to paginate is only supported since 7.3:
https://www.php.net/manual/en/ldap.examples-controls.php#example-5599
@nuxsmin nuxsmin changed the base branch from master to v3.2 September 25, 2021 08:08
Copy link
Owner

@nuxsmin nuxsmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nuxsmin nuxsmin merged commit 45eb5ac into nuxsmin:v3.2 Jun 25, 2022
nuxsmin added a commit that referenced this pull request Jun 25, 2022
* [FIX] Fixes issue with LDAP pagination

Co-authored-by: Felix Haase <[email protected]>
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.

LDAP Size limit exceeded
2 participants