XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.2, 2.3.2
    • Fix Version/s: 2.5
    • Component/s: Authentication
    • Labels:
    • Environment:
      All
    • Testing Instructions:
      Hide
      1. Configure your LDAP server to use TLS (not LDAP + SSL). Also configure the client libraries (in the server where Moodle runs) to recognize the LDAP server certificate as valid (or to skip the cert validation process completely).
      2. Try to login as a regular user. It should work as expected. Log out.
      3. Run auth/cli/sync_users.php. It should work as expected again.
      4. Log in as admin.
      5. Go to LDAP authentication plugin settings and set TLS to 'No'. Save the settings. Log out.
      6. Try to login as a regular user. It should work as expected again. Log out.
      7. Run auth/cli/sync_users.php. It should work as expected again.
      8. Log in as admin.
      9. Go to LDAP authentication plugin settings and set TLS to 'Yes'. Save the settings. Log out.
      10. Try to login as a regular user. It should work as expected again. Log out.
      11. Run auth/cli/sync_users.php. It should work as expected again.
      Show
      Configure your LDAP server to use TLS ( not LDAP + SSL). Also configure the client libraries (in the server where Moodle runs) to recognize the LDAP server certificate as valid (or to skip the cert validation process completely). Try to login as a regular user. It should work as expected. Log out. Run auth/cli/sync_users.php. It should work as expected again. Log in as admin. Go to LDAP authentication plugin settings and set TLS to 'No'. Save the settings. Log out. Try to login as a regular user. It should work as expected again. Log out. Run auth/cli/sync_users.php. It should work as expected again. Log in as admin. Go to LDAP authentication plugin settings and set TLS to 'Yes'. Save the settings. Log out. Try to login as a regular user. It should work as expected again. Log out. Run auth/cli/sync_users.php. It should work as expected again.
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip_master_mdl-3941_add_support_for_LDAP_TLS

      Description

      Hello,

      I realized that the moodle ldap authentification classe doesn't carry on with tls, so I added for my personnal use the query to ldap_start_tls(<ldap_connect_ressource>);

      GG

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

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