Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.8, 3.9
-
Fix Version/s: 3.8.2
-
Component/s: Authentication, Enrolments
-
Testing Instructions:
-
Affected Branches:MOODLE_38_STABLE, MOODLE_39_STABLE
-
Fixed Branches:MOODLE_38_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull 3.8 Branch:
MDL-67118_38 -
Pull 3.8 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
ldap_control_paged_result_response and ldap_control_paged_result are
deprecated. Pagination controls can be sent along with ldap_search instead.
That means, unless I'm wrong, that we'll have to use LDAP controls within ldap_search() instead.
Problem is that LDAP controls are only available for php73 and up, so we'll need to perform some interim conditional code: one solution for php71-72 and another for php73-74.
Links:
LDAP search: https://www.php.net/manual/en/function.ldap-search.php
LDAP controls: https://www.php.net/manual/en/ldap.controls.php
LDAP controls examples: https://www.php.net/manual/en/ldap.examples-controls.php