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

Provide auth cas and ldap /cli/sync_users as scheduled tasks alternative

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      (difficulty: moderate, requires setup of external data sources for auth)
      1. Setup authentification using LDAP.
      2. Check user from external source can login.
      3. Check syncing with auth/ldap/cli/sync_users.php works.
      4. Go to shedule task page, enable LDAP user sync job, set all fields to * to ensure task will start on next cron.
      5. Goto external source and change some user data.
      6. Run cron and ensure, that task runs without errors and user data is updated.
      Repeat for auth_cas.

      Show
      (difficulty: moderate, requires setup of external data sources for auth) 1. Setup authentification using LDAP. 2. Check user from external source can login. 3. Check syncing with auth/ldap/cli/sync_users.php works. 4. Go to shedule task page, enable LDAP user sync job, set all fields to * to ensure task will start on next cron. 5. Goto external source and change some user data. 6. Run cron and ensure, that task runs without errors and user data is updated. Repeat for auth_cas.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      wip-MDL-46623-master

      Description

      Currently moodle administrator that uses auth_db and auth_ldap modules should config cron twice, for regular cron and for syncing users with external source. Converting this tasks to sheduled tasks (disabled by default) will allow to more easily config and execute such task from moodle.
      Is such improvements planned by moodle HQ? Will it be helpfull, if i provide patch?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vadimon Vadim Dvorovenko
              Reporter:
              vadimon Vadim Dvorovenko
              Peer reviewer:
              Marina Glancy
              Integrator:
              Andrew Nicols
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                16/Nov/15