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

LDAP authentication: Don't mass create users by cronjob

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.0.4, 2.5.7, 2.6.4, 2.7.1
    • Authentication
    • MOODLE_20_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE

      Preface:
      We use moodle together with LDAP authentication. We have activated the LDAP cronjob to get rid of moodle accounts of users who have been deleted in ldap. Our LDAP server has approx. 15000 accounts, but only a fraction of these use moodle. Now, the LDAP cronjob kindly creates moodle accounts for every LDAP account which isn't nessecary.

      Feature Request:
      We have commented out the user addition in /auth/ldap/auth.php, line 815 to 868. It would be great if this could be made optional by using a preference in LDAP configuration form (http://YOURMOODLEURL/admin/auth_config.php?auth=ldap).

      The changes in code for creating this preference should fairly simple - please let me know if this feature request is approved, then I will supply diffs for that.

            moodle.com Moodle HQ
            abias Alexander Bias
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.