Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67118

LDAP deprecations in PHP 7.4

    XMLWordPrintable

    Details

      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

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Peer reviewer:
            Carlos Escobedo
            Integrator:
            Jun Pataleta
            Tester:
            CiBoT
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Mar/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 1 minute
                1d 3h 1m