Hi Jeffrey,

1.4.0 will be going out today, so you might want to upgrade to that.

Otherwise, you can apply these two commits over your copy of 1.3
installation:

  5f1ad871938686be816b2e4816e9221b43e5461c
  4b152ba57eacaa106b1aeef7b1f3e9a346863018

Cheers,
Francois

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/548165

Title:
  Increase length of username column to 255 to support shibboleth/SSO
  userIDs

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  get_new_username in lib/user.php truncates username to 30 characters
  by default. In some cases this is too short.

  As an example I have modified the SimpleSAMLPhP authenticator to use
  the Internet2 Shibboleth SAML service provider (SP). In cases where
  the eduPersonPrincipleName attribute (which look like
  usern...@domain.com) is not provider to the SP, the SP can either use
  the SAML1 eduPersonTargetedID attribute (which looks like
  e54710df7638d...@domain.com) or the serialized SAML2 NameID (which
  looks like "!IdP-entityID!SP-entityID!lq7q48crsqzyqehetxahzcgi/bc="
  and the entityIDs have the form of a URL) as usernames.

  30 characters is far to small to handle this and more over the
  varchar(100) username field in the various  tables like 'usr' will
  impact on this issue aswell.

  My guess is that you should be looking atleast 256 or 512 characters
  for this.

  PS. This is an issue for both SSP and Shibboleth.

  This bug was imported from eduforge.org, see:
  
https://eduforge.org/tracker/index.php?func=detail&aid=3424&group_id=176&atid=739

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to