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

Move the radius authentication plugin to contrib

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Requirements

      • A radius server.
      • php radius module installed.
      • Check out the awesome documentation for radius authentication and Moodle here (perhaps it will help).
      • This checks updating to the patch so this must be done pre-update.

      test 1 (radius enabled with a student enrolled in a course).

      1. Go to [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and enable the RADIUS server.
      2. Go to [Site administration  ► Plugins  ► Authentication  ► RADIUS server] and fill in the details to connect to your radius server.
      3. Log in using a radius user and fill in the details on the user edit page. (update the email address from the database, or log in as the admin and change the email address).
      4. Enrol this new user into a course.
      5. Update to the current release.
      6. Check that RADIUS is to be deleted.
      7. Go to the Manage authentication page [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and check that RADIUS is not in the table.
      8. install the plugin from https://github.com/moodlehq/moodle-auth_radius. Go throught the installation process.
      9. Go back to [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and enable RADIUS (if it isn't already).
      10. Go to the settings for RADIUS and check that the settings are the same as before.
      11. Log in as the RADIUS user and check that you can get to the course that the user was enrolled in.

      test 2 (radius not enabled straight upgrade)

      1. Update to the current release.
      2. Check that RADIUS is to be deleted.
      3. Go to the Manage authentication page [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and check that RADIUS is not in the table.
      4. Do the following sql query and check that there are no settings for RADIUS

        SELECT * FROM mdl_config_plugins WHERE plugin LIKE '%radius%' 

        .

      test 3 (fresh install with current release).

      1. Do a fresh install with the current release.
      2. Go to the Manage authentication page [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and check that RADIUS is not in the table.
      Show
      Requirements A radius server. php radius module installed. Check out the awesome documentation for radius authentication and Moodle here (perhaps it will help). This checks updating to the patch so this must be done pre-update. test 1 (radius enabled with a student enrolled in a course). Go to [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and enable the RADIUS server. Go to [Site administration  ► Plugins  ► Authentication  ► RADIUS server] and fill in the details to connect to your radius server. Log in using a radius user and fill in the details on the user edit page. (update the email address from the database, or log in as the admin and change the email address). Enrol this new user into a course. Update to the current release. Check that RADIUS is to be deleted. Go to the Manage authentication page [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and check that RADIUS is not in the table. install the plugin from https://github.com/moodlehq/moodle-auth_radius . Go throught the installation process. Go back to [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and enable RADIUS (if it isn't already). Go to the settings for RADIUS and check that the settings are the same as before. Log in as the RADIUS user and check that you can get to the course that the user was enrolled in. test 2 (radius not enabled straight upgrade) Update to the current release. Check that RADIUS is to be deleted. Go to the Manage authentication page [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and check that RADIUS is not in the table. Do the following sql query and check that there are no settings for RADIUS SELECT * FROM mdl_config_plugins WHERE plugin LIKE '%radius%' . test 3 (fresh install with current release). Do a fresh install with the current release. Go to the Manage authentication page [Site administration  ► Plugins  ► Authentication  ► Manage authentication] and check that RADIUS is not in the table.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-55927-master
    • Sprint:
      3.2 Sprint 7

      Description

      Radius is now using the mcrypt php functions which are deprecated as of php 7.1 (see here for details). The suggestion has been that we move this authentication plugin and the supporting libraries into contrib.

      Libraries to be moved as well (double check they are not used elsewhere):
      lib/pear/Auth
      lib/pear/Crypt

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16