Using Moodle LDAP Enrolment along with Self Enrolment of Courses

Using Moodle LDAP Enrolment along with Self Enrolment of Courses

by Hemamalini K R -
Number of replies: 1

LDAP authentication & Enrolment settings done and it is working fine.

Our requirement is as follows:

1. For External Users we will use Email Based Self Registration

2. Internal Users LDAP Authentication and Course Enrolment

Testing done with Internal Users:

I tested LDAP Course Enrolment for an AD user and it working FIne.

Only those AD users added to the group are able to enroll for the course. Other AD users are not able to enroll which is perfectly what we want.

Testing Done with External Users i.e those who have registered using Email Based Self Registration:

1. Created a User using Email Based Self Registration.

2. Created a New Course (No access restrictions given)

3. Now when the user logs in he is able to access the course which is perfectly  as per our requirement.

4. Now the issue is this newly created course is accessible by AD User also. But a group for this course is not created in LDAP.

Our Requirement is:

1. Internal Users should only go through LDAP Course Enrolment. If a group is not created for Course in LDAP with users mapped to it, then AD users should not be able to enroll.

2. External Users registered through Email Based Self Registration should be able to access the courses mapped to them.


Enrolment Method for the new course is as below:

Enrollment Method: Manual Enrollment

                                     Self Enrollment (Student)

Im not sure where where do we set the enrollment method for a course or rather how is this getting associated.

Request your help. Thanks in advance

Average of ratings: -
In reply to Hemamalini K R

Re: Using Moodle LDAP Enrolment along with Self Enrolment of Courses

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

About all you can do is set an enrolment key for the course and only give it to your external users.  You could probably edit the email that they receive with their login info to give them the enrolment key.