Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4351

PHP 8.1 replaces ldap resource with opaque classes breaking ldap auth.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • CE-22.5
    • Authentication
    • None

    Description

      In php 8.1 the ldap resources were migrated to LDAP\ConnectionLDAP\Result, and LDAP\ResultEntry objects.

       

      This change breaks authentication due to checks using the is_resource() check on search results. Resolving this should only require replacing usage of is_resource() with instanceof and the new objects.

       

      https://www.php.net/releases/8.1/en.php

      https://www.php.net/manual/en/class.ldap-connection.php

      Attachments

        Activity

          People

            landy Mike Stupalov
            esaille Elliott Saille
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: