Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42723

Warning shown when debugging is on and user doesn't exist in LDAP Context (follow up to MDL-41304)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.9, 2.4.6, 2.5.2
    • Fix Version/s: 2.4.8, 2.5.4
    • Component/s: Authentication
    • Labels:
      None
    • Database:
      Any
    • Testing Instructions:
      Hide

      Requirement:

      • LDAP authentication enabled and configured.
      • Debug ALL on
      • LDAP server with at least two different disjoint contexts.
      • A valid LDAP test account that is exists in the second context (but no in the first one).

      Login via LDAP with the test account that exists in only the second context.

      If display errors is on the default redirect after login will show the error. Otherwise, the warnings will be in PHP error log.

      Show
      Requirement: LDAP authentication enabled and configured. Debug ALL on LDAP server with at least two different disjoint contexts. A valid LDAP test account that is exists in the second context (but no in the first one). Login via LDAP with the test account that exists in only the second context. If display errors is on the default redirect after login will show the error. Otherwise, the warnings will be in PHP error log.
    • Workaround:
      Hide

      Change debugging to MINIMAL or NONE.

      Show
      Change debugging to MINIMAL or NONE.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      wip_master_mdl-42723

      Description

      The fix for MDL-41304 is incomplete (as stated there). As the fix has been integrated and the bug closed, I'm opening this bug to fix the remaining cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iarenaza Iñaki Arenaza
                Reporter:
                iarenaza Iñaki Arenaza
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14