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

Broken password expiration support for LDAP user types rfc2307 and rfc2307bis

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.4, 1.6.5, 1.7.2, 1.8.1
    • Fix Version/s: 1.8.2, 1.9
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      RFC 2307 /RFC 2307bis compliant LDAP server.
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      When paca70 added basic configuration for rfc2307bis on Tue Sep 28 12:50:33 2004, it forgot to change a couple of places the original user type from 'posix' to 'rfc2307' or 'rfc2307bis', which effectively breaks password expiration support for those two user types. In addition to that, s/he introduced a typo in one of the definitios (which has already been fixed in 1.8 and HEAD).

      The attached patches fix both things for the relevant versions.

      Saludos. Iñaki.

        Gliffy Diagrams

        1. rfc2307-pwd-expiration-fix-15.diff
          2 kB
          Iñaki Arenaza
        2. rfc2307-pwd-expiration-fix-16.diff
          2 kB
          Iñaki Arenaza
        3. rfc2307-pwd-expiration-fix-17.diff
          2 kB
          Iñaki Arenaza
        4. rfc2307-pwd-expiration-fix-18.diff
          1.0 kB
          Iñaki Arenaza
        5. rfc2307-pwd-expiration-fix-19.diff
          1.0 kB
          Iñaki Arenaza

          Activity

          Hide
          skodak Petr Skoda added a comment -

          thanks for the report and patches!

          Show
          skodak Petr Skoda added a comment - thanks for the report and patches!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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