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

Invalid user error shows on data requests page for deleted LDAP accounts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.9.1
    • Fix Version/s: None
    • Component/s: Authentication, Privacy
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      When the LDAP authentication plugin is configured to delete users associated with disappeared LDAP accounts (setting "auth_ldap | removeuser"), a deleted LDAP user causes an "invalid user" error on the data requests page.

      This makes the data requests page unusable.

      To replicate:

      1. go to /admin/tool/dataprivacy/datarequests.php and make sure there is no error
      2. set up plugin for LDAP authentication
      3. set the setting "auth_ldap | removeuser" to remove internal
      4. create an LDAP account
      5. synchronize the LDAP accounts (task \auth_ldap\task\sync_task)
      6. remove the account on the LDAP server
      7. synchronize the LDAP accounts (task \auth_ldap\task\sync_task)
      8. go to /admin/tool/dataprivacy/datarequests.php

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            henrik.gebauer Henrik Gebauer
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: