Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0.4, 2.5.7, 2.6.4, 2.7.1
-
Fix Version/s: DEV backlog
-
Component/s: Authentication
-
Affected Branches:MOODLE_20_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
Description
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.