OSS Enrolment

Enrolment ::: enrol_oss
Maintained by Frank Schütte
Enrolment to manage groups, classes, teachers, students and parents infrastructure for an open school server (oss).

OSS Enrolment 2.4.3 (Build: 2024100302)

Moodle 3.11, 4.0, 4.1, 4.2, 4.3, 4.4
Released: torsdag, 3. oktober 2024, 22:43

moodle-enrol_oss

enrolment plugin for moodle from 3.x to autoenrol in conjunction with the open school server or other ldap servers enrol_oss.

It is supposed to work with the

Open School Server (www.openschoolserver.net) other ldap servers that provide user and group information

servers.

It is crafted for their LDAP structure.

It needs the auth_ldap module working to get the users authenticated through LDAP and enrols those users to courses depending on the field $course->idnumber.

Dependencies

This module needs the Auth-Plugin auth_ldap and the enrolment plugin enrol_cohort to be active to work properly.

Cron-Job

This module is processed by cron on an hourly basis, as is enrol_cohort equally.

The module auth_ldap is not automatically processed by cron. There is a scheduled task available but it is deactivated by default.

Activate it and schedule it for hourly execution.

Parents

To use this new feature you need to create the parent role as outlined in https://docs.moodle.org/34/en/Parent_role. The role shortname needs to match configuration on the settings page.

The parents can be imported from file, which needs to be of certain structure.

username;lastname;firstname;email

E-Mail can be fake mail with example.com but needs to be unique, f.e. "nobody####@example.com" with student no. ####. There is a patch discussed on https://moodle.org/mod/forum/discuss.php?d=96114 which makes non unique email addresses possible. This patch is very helpful, because parents of siblings get multiple parent accounts. In newer moodle versions there is the setting "allowaccountssmaeemail", which reduces the mentioned patch to the file emailupdate.php.

username must be "eltern_####", where #### is the student no. in ldap structure.

The number is used to create the relationship between parent and student automatically.

Changelog

2024-10-03 fix: match cohort names case sensitive in enrolment, too

2024-08-03 fix: cohort names are case sensitive and need to be

2023-10-25 compatibility with php 8.0 and ldap servers without wildcard search

2021-02-26 ignore whitespace around cohort names in idnumber list

2021-01-26 fix ccteacher context levels

2020-07-16 add all students and age groups classes

2018-02-06 add parent account management

2017-11-28 add classes creation/removing and enrolment

2017-08-19 fixed dn handling, coursecat movements

2016-11-30 added option member_attribute_isdn for dn handling

2016-11-30 initial port from enrol_openlml

Hildesheim, Germany

Frank Schütte,2016-2024(fschuett@gymhim.de)

Version information

Version build number
2024100302
Version release name
2.4.3 (Build: 2024100302)
Maturity
Alfa
MD5 Sum
d37ed84ad73b2164bf62ec67dd47f79e
Supported software
Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Enrolment

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myenrol") in the "enrol" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation