← Back to team overview

mahara-contributors team mailing list archive

[Bug 1556692] A patch has been submitted for review

 

Patch for "1.10_STABLE" branch: https://reviews.mahara.org/6137

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1556692

Title:
  Problem with MNet usernames greater than 30 characters, when
  $CFG->usersuniquebyusername is used

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Fix Committed

Bug description:
  This bug occurs when the following set of circumstances are in use:

  1. MNet is set up, with users coming *into* Mahara
  2. Mnet is set to auto-create user accounts in Mahara
  3. $cfg->usersuniquebyusername is set to "True", which means that users are logged in by matching them against usr.username rather than auth_remote_user.remoteusername

  In this case, users coming from Mnet are provisioned in Mahara with a
  unique username based on their Moodle username, but truncated to 30
  characters. Then on subsequent login attempts, their truncated Mahara
  username doesn't match their Moodle username, and they do not log in
  correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1556692/+subscriptions


References