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

LDAPs Authentication on Ubuntu 22.04 not working

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Default
    • Ubuntu 22.04
      PHP 8.1.2
      PHP-LDAP 2:8.1

    Description

      Hello,

      we have been trying to implement LDAPs on a new Ubuntu 22.04 Instance.

      It is working on a Ubuntu 20.04 instance without any Problems.

      Are there any changes need to be made?

      Attachments

        Activity

          [OBS-4264] LDAPs Authentication on Ubuntu 22.04 not working

          Confirmed issue with php 8.1.

          Fixed since r12314.
          (Will released in next CE)

          landy Mike Stupalov added a comment - Confirmed issue with php 8.1. Fixed since r12314. (Will released in next CE)
          FMueller FabianMüller added a comment - - edited

          I tried it with latest stable version of Pro/Enterprise Version.
          Sadly it doesn't work there either.

          Observium 22.8.12241

          Software versions

           o OS                   Linux 5.15.0-48-generic [amd64] (Ubuntu 22.04)
           o Apache               2.4.52
           o PHP                  8.1.2 (OPcache: DISABLED)
           o Python               3.10.6
           o MySQL                8.0.30-0ubuntu0.22.04.1 (extension: mysqli 8.1.2)
           o SNMP                 NET-SNMP 5.9.1
           o RRDtool              1.7.2
           o Fping                5.1 (IPv4 and IPv6)

          Memory Limit

           o PHP                  Unlimited

          MySQL mode

           o MySQL                NO_ENGINE_SUBSTITUTION

          Charset info

           o PHP                  UTF-8
           o MySQL                utf8mb3

          Timezones info

           o Date                 Tuesday, 27-Sep-22 15:52:05 CEST
           o PHP                  +02:00
           o MySQL                +02:00

          FMueller FabianMüller added a comment - - edited I tried it with latest stable version of Pro/Enterprise Version. Sadly it doesn't work there either. Observium 22.8.12241 Software versions  o OS                   Linux 5.15.0-48-generic [amd64] (Ubuntu 22.04)  o Apache               2.4.52  o PHP                  8.1.2 (OPcache: DISABLED)  o Python               3.10.6  o MySQL                8.0.30-0ubuntu0.22.04.1 (extension: mysqli 8.1.2)  o SNMP                 NET-SNMP 5.9.1  o RRDtool              1.7.2  o Fping                5.1 (IPv4 and IPv6) Memory Limit  o PHP                  Unlimited MySQL mode  o MySQL                NO_ENGINE_SUBSTITUTION Charset info  o PHP                  UTF-8  o MySQL                utf8mb3 Timezones info  o Date                 Tuesday, 27-Sep-22 15:52:05 CEST  o PHP                  +02:00  o MySQL                +02:00

          ok, seems I can confirm trouble in php 8.1

          landy Mike Stupalov added a comment - ok, seems I can confirm trouble in php 8.1

          Hrm, probably need to search php errors in apache error log.

          landy Mike Stupalov added a comment - Hrm, probably need to search php errors in apache error log.

          Main trouble in changes in php 8.x.
          Current Observium CE version not support PHP 8.1 (only php 8.0).

          Support will appear in next CE version.
          Or it already supported in current Pro version.

          landy Mike Stupalov added a comment - Main trouble in changes in php 8.x. Current Observium CE version not support PHP 8.1 (only php 8.0). Support will appear in next CE version. Or it already supported in current Pro version.

          both instances are set up the same way - except Versions

          The config is working for the Ubuntu 20.04 but is failing on the Ubuntu 22.04 Version.

          FMueller FabianMüller added a comment - both instances are set up the same way - except Versions The config is working for the Ubuntu 20.04 but is failing on the Ubuntu 22.04 Version.
          FMueller FabianMüller added a comment - - edited

          Observium CE 22.5.12042

          Software versions

           o OS                      Linux 5.15.0-47-generic [amd64] (Ubuntu 22.04)
           o Apache               2.4.52
           o PHP                    8.1.2 (OPcache: DISABLED)
           o Python               3.10.6
           o MySQL               8.0.30-0ubuntu0.22.04.1 (extension: mysqli 8.1.2)
           o SNMP                NET-SNMP 5.9.1
           o RRDtool             1.7.2
           o Fping                 5.1 (IPv4 and IPv6)

          Memory Limit

           o PHP                  Unlimited

          MySQL mode

           o MySQL                NO_ENGINE_SUBSTITUTION

          Charset info

           o PHP                  UTF-8
           o MySQL                utf8mb3

          Timezones info

           o Date                 Tuesday, 27-Sep-22 12:54:10 CEST
           o PHP                  +02:00
           o MySQL                +02:00

          FMueller FabianMüller added a comment - - edited Observium CE 22.5.12042 Software versions  o OS                      Linux 5.15.0-47-generic [amd64] (Ubuntu 22.04)  o Apache               2.4.52  o PHP                    8.1.2 (OPcache: DISABLED)  o Python               3.10.6  o MySQL               8.0.30-0ubuntu0.22.04.1 (extension: mysqli 8.1.2)  o SNMP                NET-SNMP 5.9.1  o RRDtool             1.7.2  o Fping                 5.1 (IPv4 and IPv6) Memory Limit  o PHP                  Unlimited MySQL mode  o MySQL                NO_ENGINE_SUBSTITUTION Charset info  o PHP                  UTF-8  o MySQL                utf8mb3 Timezones info  o Date                 Tuesday, 27-Sep-22 12:54:10 CEST  o PHP                  +02:00  o MySQL                +02:00

          Show versions:

          ./discovery.php -VV

          landy Mike Stupalov added a comment - Show versions: ./discovery.php -VV
          landy Mike Stupalov added a comment - - edited

          ldap auth is nohow related with used version of system.

          See docs for configure LDAP auth:
          https://docs.observium.org/authentication/?h=lda#ldap-authentication

          For detailed help with configure, you need show your configuration related with auth (hide passwords).

          landy Mike Stupalov added a comment - - edited ldap auth is nohow related with used version of system. See docs for configure LDAP auth: https://docs.observium.org/authentication/?h=lda#ldap-authentication For detailed help with configure, you need show your configuration related with auth (hide passwords).

          Hello,

          do you have any recommendations how to solve this issue?

          Is Observium (Auth over LDAPs) possible to run with Ubuntu 22.04, or is it not supported?
           

          FMueller FabianMüller added a comment - Hello, do you have any recommendations how to solve this issue? Is Observium (Auth over LDAPs) possible to run with Ubuntu 22.04, or is it not supported?  

          People

            landy Mike Stupalov
            FMueller FabianMüller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: