Moodle
  1. Moodle
  2. MDL-14987

Default attribute for Active Directory password expiry is missing in LDAP authentication plugin.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.2
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When we added password expiry support for AD to the LDAP authentication plugin in 1.8, we forgot to add the default attribute for this functionality to the $default array in ldap_getdefaults(). This means that the administration must specify the right value in the LDAP settings page, or otherwise password expiry won't work (contrary to what other LDAP backends do, and what MoodleDocs say).

      The attached patches fix the issue for 1.8, 1.9 and HEAD.

      Saludos. Iñaki.

        Gliffy Diagrams

        1. ad-expireattr-18.diff
          0.6 kB
          Iñaki Arenaza
        2. ad-expireattr-19.diff
          0.6 kB
          Iñaki Arenaza
        3. ad-expireattr-head.diff
          0.6 kB
          Iñaki Arenaza

          Activity

          Hide
          Iñaki Arenaza added a comment -

          Closing now.

          Saludos. Iñaki.

          Show
          Iñaki Arenaza added a comment - Closing now. Saludos. Iñaki.

            People

            • Assignee:
              Iñaki Arenaza
              Reporter:
              Iñaki Arenaza
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: