Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
3.2.2
-
None
-
MOODLE_32_STABLE
Description
Using the synchronization script, there is a problem with the courses that have a lot of users (almost 2000) to sync.
- We are having this message :
PHP Warning: ldap_read(): Search: Can't contact LDAP server in /.../moodle/enrol/ldap/lib.php on line 917
PHP Warning: ldap_first_entry() expects parameter 2 to be resource, boolean given in /.../moodle/enrol/ldap/lib.php on line 918
PHP Warning: ldap_get_values() expects parameter 2 to be resource, null given in /.../moodle/enrol/ldap/lib.php on line 919
PHP Warning: in_array() expects parameter 2 to be array, null given in /.../moodle/enrol/ldap/lib.php on line 921
- A workaround (with which we are not really happy) is to reopen the connection for each course processed enabling it to finish (and there is no time out and all the users are synced)