External DB enrolment - LDAP question

External DB enrolment - LDAP question

by Bill Jones -
Number of replies: 1
Hello,

I wanted to confirm my understanding of how External DB enrolment should function. We have AD/LDAP authentication running without synchronization (so users' accounts in Moodle are created when they login against LDAP.) The way I read it, external DB enrolment should kick in right after the user account is created and be able to add an enrolment successfully, as long as the userid fields can be matched. Is this correct?

Thanks,
Bill J.

Average of ratings: -
In reply to Bill Jones

Re: External DB enrolment - LDAP question

by Jonathan Moore -
Enrollment syncs can happen at two times.

1) by running the sync script. normally run on a daily basis via cron entry.
2) during the login process.

An enrollment can't be created until the user exists, So in your case when the user logs in the first time and after the account is created, he/she should receive a set of enrollments. These would be updated each time the user logs into the system.