Moodle plugins directory: User role assignment from LDAP: Versions: 0.1 | Moodle.org
User role assignment from LDAP
Enrolment ::: enrol_ldapuserrel
Maintained by Maxime Pelletier, Alistair Spark
This plugin allows you to configure automatic synchronisation of relationships between users from a LDAP server. It is mainly used to assign Parent/Mentor rôle.
User role assignment from LDAP 0.1
Moodle 2.2, 2.3
Released: jueves, 25 octubre 2012, 9:36 PM
This plugin allows you to configure automatic relationships between users from LDAP
THIS PLUGIN IS IN BETA STATUS! BE CAREFULL WITH PRODUCTION ENVIRONMENT!
Users familiar with enrol/ldap should have no problems configuring this.
Plugin has been tested on 2.3.
This plugin is the LDAP version of a plugin that was first developed by Penny Leach for Moodle 1.9
but I modified it to work with Moodle 2.3
This is one of my first experience with Moodle plugin development, so your comments are more than
welcome. Useless to say that you use this piece of code at your own risk
HOW TO INSTALL
==============
Prerequisis
a. LDAP server with mentor entries with an attribute containing a list of mentee id
b. PHP library to connect to LDAP
c. mentee and mentor accounts already in Moodle
1. Download all the files in the directory {MOODLE_DIR}/enrol/ldapuserrel (using git, GitHub website, or anything else)
2. Go to http://{MOODLE_URL}/admin to complete the installation
3. Fill all parameters using Moodle plugin administration interface (http://{MOODLE_URL}/admin/settings.php?section=enrolsettingsldapuserrel)
4. Setup a cron job to execute {MOODLE_DIR}/enrol/ldapuserrel/cli/sync.php (add -v for more output, and redirecte output to log file)
Feel free to send me any comments/suggestions
Maxime Pelletier
THIS PLUGIN IS IN BETA STATUS! BE CAREFULL WITH PRODUCTION ENVIRONMENT!
Users familiar with enrol/ldap should have no problems configuring this.
Plugin has been tested on 2.3.
This plugin is the LDAP version of a plugin that was first developed by Penny Leach for Moodle 1.9
but I modified it to work with Moodle 2.3
This is one of my first experience with Moodle plugin development, so your comments are more than
welcome. Useless to say that you use this piece of code at your own risk
HOW TO INSTALL
==============
Prerequisis
a. LDAP server with mentor entries with an attribute containing a list of mentee id
b. PHP library to connect to LDAP
c. mentee and mentor accounts already in Moodle
1. Download all the files in the directory {MOODLE_DIR}/enrol/ldapuserrel (using git, GitHub website, or anything else)
2. Go to http://{MOODLE_URL}/admin to complete the installation
3. Fill all parameters using Moodle plugin administration interface (http://{MOODLE_URL}/admin/settings.php?section=enrolsettingsldapuserrel)
4. Setup a cron job to execute {MOODLE_DIR}/enrol/ldapuserrel/cli/sync.php (add -v for more output, and redirecte output to log file)
Feel free to send me any comments/suggestions
Maxime Pelletier
Version information
- Version build number
- 2012090600
- Version release name
- 0.1
- Maturity
- Beta
- MD5 Sum
- 2564a0420adeff061a53a534b0f16b88
- Supported software
- Moodle 2.2, Moodle 2.3
- Latest release for Moodle 2.2
- Latest release for Moodle 2.3
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Enrolment
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myenrol") in the "enrol" subdirectory.
- Visit http://yoursite.com/admin to finish the installation