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 Sub-task
    • Status: Closed
    • Priority: Blocker 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
    • Rank:
      34353

      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.

        Activity

        Hide
        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 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 McMullan
            Reporter:
            Donal McMullan
            Tester:
            Nobody
            Participants:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: