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

Kerberos/Ldap and CAS/ldap logout issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.3.1
    • Authentication
    • None
    • MOODLE_23_STABLE

      Hi

      I am not sure whether this behavior is expected or not and as such maybe a bug.

      In the rather unlikey authentication situation where one uses both LDAP and CAS/LDAP together, when the user logs out Moodle appears to run through each of the auth plugins that are enabled and attempts to log the user out of each one in the order they are set in Moodle.

      This causes issues, as if the user is authenticated using LDAP/Kerberos and they click the logout link, Moodle logs them out of Kerberos and then goes and attempts to log them out of CAS.

      Odd - Why would it do this when it should know that the user is logged in using LDAP/Kerberos?

      Our CAS page then just shows "logout successful" and doesnt forward back to Moodle. If the user then navigates back to Moodle they are looged in again Kerberos/LDAP.

      I think Moodle needs to check what auth type the user is logged in via, and only attempt to log the user out of that service and not run through all the enabled plugins

      Albert

            iarenaza Iñaki Arenaza
            albertramsbottom Paul (Inactive)
            Votes:
            1 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.