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

LDAP Recursion broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Professional Edition
    • Authentication
    • None
    • Debian 10
      Apache mod_auth_kerb
      2016 AD

    Description

      Took me a while to track this down, but it appears a minor tweak to the ldap recursion broke logins for anyone in a nested group, not in the base group.

      Had to add the [0] back in and everything went back to working.

      Against 2019 Domain Controllers, though I'm not sure that matters here as it wouldn't work against older DCs either.

       

      root@observium:/data/observium/html/includes/authentication# diff ldap.inc.php ldap.inc.php.def
      83c83
      < $result = ldap_search_user($element[$config['auth_ldap_attr']['dn']][0], $userdn, $depth);

      > $result = ldap_search_user($element[$config['auth_ldap_attr']['dn']], $userdn, $depth);

      Attachments

        Issue Links

          Activity

            People

              landy Mike Stupalov
              arricc Mark McRitchie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: