Hi,
I have a similar error message when running
php
sync_users.php from /home/relax/htdocs/moodle/auth/ldap/cli
similar I get the following error message:
PHP Warning: PHP
Startup: Invalid library (maybe not a PHP library) 'opcache.so' in Unknown on
line 0
Verbindung zum LDAP-Server aufbauen...Temporäre Tabelle
tmp_extuser erstellen
((Making connection to LDAP Server... Creating temporary table tmp_extuser))
PHP Warning:
ldap_list(): Search: Critical extension is unavailable in
/home/relax/htdocs/moodle/auth/ldap/auth.php on line 729
Kein Nutzerkonto über LDAP einlesbar! Fehler?Potential
coding error - existing temptables found when disposing database. Must be
dropped!
((No user account readable through LDAP. Error))
Sorry for the German. Translation in in paratheses.
The following changes didn't help:
-
Changed “Search subcontexts” to
yes in ldap server settings
-
Changed user attribute from “uid”
to empty
-
Added “$CFG->extendedusernamechars
= true;” to config.php
I am running Moodle 2.9.4 on a Debian 7 machine.