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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 3.2.2
    • None
    • Authentication, Enrolments
    • 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)

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ardanzap Paula Ardanza Menendez
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: