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

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

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

          [OBS-4351] PHP 8.1 replaces ldap resource with opaque classes breaking ldap auth.

          This issue already fixed in Pro edition, will fixed in next CE (soon).

          landy Mike Stupalov added a comment - This issue already fixed in Pro edition, will fixed in next CE (soon).

          Forgot to include the full Observium Version its Observium CE 22.5.12042

          esaille Elliott Saille added a comment - Forgot to include the full Observium Version its Observium CE 22.5.12042

          People

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

            Dates

              Created:
              Updated:
              Resolved: