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

Undefined property: stdClass::$start_tls in HEAD/auth/ldap/auth.php on line 2051

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: Authentication
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      These testing instructions assume you already have a working LDAP configuration in your Moodle site.

      1. Before applying the fix, log in as an admin and enable DEVELOPER level debugging.
      2. Log out.
      3. Log in as any user that uses LDAP as her authentication method.
      4. You should see a notice saying "Undefined property: stdClass::$start_tls in HEAD/auth/ldap/auth.php on line 2051" (line number may vary slightly).
      5. Log out.
      6. Apply the fix.
      7. Log in as admin. You should be presented with an upgrade screen for both the CAS and LDAP plugins. Follow the instructions and finish the upgrade (it should finish successfully).
      8. Log out.
      9. Log in as any user that uses LDAP as her authentication method. This time you shouldn't see any notice at all.
      Show
      These testing instructions assume you already have a working LDAP configuration in your Moodle site. Before applying the fix, log in as an admin and enable DEVELOPER level debugging. Log out. Log in as any user that uses LDAP as her authentication method. You should see a notice saying "Undefined property: stdClass::$start_tls in HEAD/auth/ldap/auth.php on line 2051" (line number may vary slightly). Log out. Apply the fix. Log in as admin. You should be presented with an upgrade screen for both the CAS and LDAP plugins. Follow the instructions and finish the upgrade (it should finish successfully). Log out. Log in as any user that uses LDAP as her authentication method. This time you shouldn't see any notice at all.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip_master_mdl-39323_fix_start_tls_undefined_notice

      Description

      In our moodle nightly, we have this notice when authenticating with the ldap auth method:

      Undefined property: stdClass::$start_tls in HEAD/auth/ldap/auth.php on line 2051
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Jul/13