Hello,
I set up LDAP authentication on Moodle 3.0.3 with Active Directory server.
Moodle users were created successfully. Then, I added some extra User profile fields and configured their mapping. Some mappings are set to update the local "On creation" and some of them are "On every login".
Now, when a user logs in, his data is updated (including the extra fields). But I want to update all users' data at once. I schedule a task, but the extra fields are not updated
How can I update the data of existing users without requiring them to log in.
Execute scheduled task: LDAP users sync job (auth_ldap\task\sync_task) ... started 15:05:45. Current memory use 4MB. Connecting to LDAP server... Creating temporary table tmp_extuser .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Got 1735 records from LDAP No user entries to be removed No user entries to be revived User entries to be updated: 1749 Updating user aaronb id 3 Updating user abdulkadirkar id 4 Updating user abdullahak id 5
No user entries to be added... used 12517 dbqueries ... used 28.172491073608 seconds Scheduled task complete: LDAP users sync job (auth_ldap\task\sync_task)