Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58847

Synchronization script (enrol/ldap/lib.php) have problems with the courses that have a lot of users to sync (more than 1000)

XMLWordPrintable

    • MOODLE_32_STABLE

      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)

       

            Unassigned Unassigned
            ardanzap Paula Ardanza Menendez
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.