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

auth_ldap : crash on invalid username

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.6.3, 2.7
    • Authentication
    • None
    • MOODLE_26_STABLE, MOODLE_27_STABLE

      Hi,

      During sync_users() execution

      if a new user has an invalid username in LDAP an uncaught exception is throw by user_create_user() call. (auth/ldap/auth.php line 951 in Moodle 2.6.3)

      The exception should be catch by sync_users() and add a warning in logs but should not stop sync for other's users.

            Unassigned Unassigned
            ak4t0sh Arnaud Trouvé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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