Hi all,
I am getting following error when executing ldap sync cron job. I had also double check by calling individual task (php admin/tool/task/cli/schedule_task.php --execute=\\auth_ldap\\task\\sync_task). During investigation I found same query posted in Moodle forum (https://moodle.org/mod/forum/discuss.php?d=353846). I have also removed tmp_extuser table and check it but getting another error. Please let me know what I am missing here.
Connecting to LDAP server...
Creating temporary table tmp_extuser
Did not get any users from LDAP -- error? -- exiting
Potential coding error - existing temptables found when disposing database. Must be dropped!