I've set up a new Moodle (3.5.1+) and activated the LDAP-auth-plugin. Authentification works as expected. The used user attribute is uid.
I wanted to set up the LDAP-enrolment as well. So I activated the plugin and tried the scheduled task. But sadly the users are not found by the plugin, even if there uid is recognised correctly. For example there is a user with the uid tester, who is member of the Group admin (TeacherEnrollment). I get the following output:
== Synching Kurs 'admin' für Rolle 'editingteacher'
Kurs mit der Kurs-ID 'admin' braucht keine Aktualisierung und wird übersprungen...
Nutzer 'tester' konnte nicht gefunden werden, überspringen
What am I doing wrong?