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

Duplicate shortname can crash LDAP sync

    XMLWordPrintable

Details

    • Any
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Hide

      1/ configure ldap sync with an LDAP server
      2/ configure mapping for shortname, fullname and idnumber of courses
      3/ enable course auto creation
      4/ add two course objects with same value for shortname field to the ldap server
      5/ run cli script enrol/ldap/cli/sync.php

      Show
      1/ configure ldap sync with an LDAP server 2/ configure mapping for shortname, fullname and idnumber of courses 3/ enable course auto creation 4/ add two course objects with same value for shortname field to the ldap server 5/ run cli script enrol/ldap/cli/sync.php

    Description

      In LDAP enrolment if two course records have the same short name the sync proccess will crash with a "Duplicate Short Name" moodle_exception.

      Attachments

        Activity

          People

            nitzan Nitzan Bar
            nitzan Nitzan Bar
            Petr Skoda Petr Skoda
            Damyon Wiese Damyon Wiese
            Frédéric Massart Frédéric Massart
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Sep/13