Hallo everyone
I have looked around but do not seem to be able to find a suitable answer to my problem:
I am using LDAP for user authentication in moodle. It works fine amd users can login but they do not appear in the moodle user list until their first login from LDAP. My problem is that I want to be able to enrol students and teachers beforehand, so when they login for the first time, they will already be assigned to their relative courses, according to their roles. So I am looking for a way to make them 'virtually' login for the first time so that they appear in the moodle user list.
Looking around, I found a script called auth_ldap_sync_users.php. But I am not sure if it works as if all the users logged once or if it copies the users to a moodle internal database thus eliminating the use of LDAP? I hope my question is not too stupid.
Thanks in advance for your responses