Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-8068 Introduce Mnet 1.0 to Moodle core code
  3. MDL-8131

Local user cannot log on if network user with same username exists

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: MNet
    • Labels:
      None
    • Environment:
      All 1.8+ Moodles who run single-sign on, and accept users who have authenticated at a remote Moodle.
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      You may have two users with the same username on your system - this is now possible because the username is no longer unique, except in conjunction with the mnethostid field. If the local user tries to log on, the login will fail.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            donal@catalyst.net.nz Donal McMullan added a comment -

            Fix applied this afternoon - I don't have the resources to test all auth mechanisms, but the fix works in the trivial case.
            Could use some QA

            Show
            donal@catalyst.net.nz Donal McMullan added a comment - Fix applied this afternoon - I don't have the resources to test all auth mechanisms, but the fix works in the trivial case. Could use some QA

              People

              • Assignee:
                donal@catalyst.net.nz Donal McMullan
                Reporter:
                donal@catalyst.net.nz Donal McMullan
                Tester:
                Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  31/Mar/07