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

LDAP auth doesn't update custom fields during run of cli/sync_users.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.6.3, 2.7, 2.8
    • Authentication
    • None
    • MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

      The script /auth/ldap/cli/sync_users.php doesn't syncronize user custom fields. It return the following warning
      Notice: Undefined property: stdClass::$profile_field_mycustomfield in <absolute path to my install>\auth\ldap\auth.php on line 1022

      The method user_update_user called by the ldap plugin doesn't save the custom fields.

      If an user logs into moodle, the login procedure calls authenticate_user_login(). That metod calls the ldap plugin but ends with the call of profile_save_data() that saves the correct informations.

            Unassigned Unassigned
            ghigio Federico Ghigini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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