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

When logging in using LDAP authentication access level is always 0.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Web Interface
    • Debian GNU/Linux 7 (wheezy), Observium r5164, Windows Active Directory (servers 2008, 2008 r2, 2012)

    Description

      When logging in using LDAP authentication access level is always 0.

      I have narrowed this down to auth_user_level function not being called or exiting at the if statement.

      The easiest way for me to confirm this was to add a

      print_debug(echo("auth_user_level is running"));
      

      just inside the if and enable debugging. While the rest of the LDAP debugging displayed, this never echoed to the screen, the group(s) never displayed, and the user(s) never were granted an access level higher than 0

      I have attached the sanitized ldap section of my config.php. I altered none of the lines beyond swapping domain names and passwords.

      Attachments

        1. ldap.escape.patch
          0.8 kB
          Solomon Seal
        2. ldap.escape.v2.patch
          2 kB
          Solomon Seal
        3. sanitized-ldap-config.php
          1 kB
          Solomon Seal

        Activity

          People

            landy Mike Stupalov
            slm4996 Solomon Seal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: