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

Error updating remote attributes on a LDAP server

XMLWordPrintable

    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-61260_master
    • Hide
      1. Setup a LDAP server and setup the LDAP authentication plugin.
      2. For your LDAP settings ensure you have correctly mapped the email address by entering a value in ‘Data mapping (Email address)’ and set ‘Update external (Email address)’ to ‘On update’.
      3. Install https://mailcatcher.me/ and set the SMTP settings on your Moodle site to the one suggested on the mailcatcher website (127.0.0.1:1025).
      4. Log into your Moodle site as one of your LDAP users.
      5. Change your email in the user profile screen.
      6. View your mailcatcher UI (http://127.0.0.1:1080).
      7. Visit the link sent to your email.
      8. Confirm the email updated correctly with no error (both on Moodle and LDAP server).
      Show
      Setup a LDAP server and setup the LDAP authentication plugin. For your LDAP settings ensure you have correctly mapped the email address by entering a value in ‘Data mapping (Email address)’ and set ‘Update external (Email address)’ to ‘On update’. Install https://mailcatcher.me/ and set the SMTP settings on your Moodle site to the one suggested on the mailcatcher website (127.0.0.1:1025). Log into your Moodle site as one of your LDAP users. Change your email in the user profile screen. View your mailcatcher UI ( http://127.0.0.1:1080 ). Visit the link sent to your email. Confirm the email updated correctly with no error (both on Moodle and LDAP server).

      After updating to Moodle 3.4, an error occurs when the user attempts to change his email address in the profile settings. After specifying a new e-mail address, a confirmation e-mail comes to it, but by going through the link, the "Call to undefined function profile_user_record ()" error occurs and the email address does not change. (Authorization of users occurs on ldaps)
       
      Debug info: 
      Error code: generalexceptionmessage
      ×Stack trace: * line 1232 of \auth\ldap\auth.php: Error thrown

      • line 68 of \user\emailupdate.php: call to auth_plugin_ldap->user_update()
         

            markn Mark Nelson
            Alomon Vasily Ulyakhin
            Shamim Rezaie Shamim Rezaie
            David Monllaó David Monllaó
            Mihail Geshoski Mihail Geshoski
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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