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

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

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
        2. ldap.escape.v2.patch
          2 kB
        3. sanitized-ldap-config.php
          1 kB

        Activity

          [OBS-764] When logging in using LDAP authentication access level is always 0.
          landy Mike Stupalov made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          landy Mike Stupalov made changes -
          Workflow Original: classic default workflow [ 11557 ] New: Observium workflow [ 12979 ]
          slm4996 Solomon Seal made changes -
          Attachment New: ldap.escape.v2.patch [ 11699 ]
          slm4996 Solomon Seal made changes -
          Attachment New: ldap.escape.patch [ 11698 ]
          landy Mike Stupalov made changes -
          Assignee Original: Adam Armstrong [ adama ] New: Mike Stupalov [ landy ]
          slm4996 Solomon Seal created issue -

          People

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

            Dates

              Created:
              Updated:
              Resolved: