remote login against UCCS server expects an email address as userid

Bug #1172877 reported by Mike Gabriel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Hi,

I am currently working on a non-Canonical UCCS session broker implementation [1] and I have stumbled over the requirement in unity-greeter that user IDs of remote logins have to be of an e-mail address format.

While an e-mail address is indeed required for SSO against Launchad and thus against UCCS.landscape.canonical.com, this requirement is not very generic and a usability blocker in non-Canonical UCCS setups.

With the X2Go project's UCCS implementation, users can in theory simply use (e.g.) an LDAP user ID (uid=foo) which works fine on the UCCS implementation side, but this user name »foo« will be rejected apriori by the e-mail format check code in /src/user-list.vala in unity-greeter.

Attached is a diff against the current code that shows the position of the referred to code in user-list.vala. The patch is _not_ a proposed solution, just a pointer to where in the code I am talking about (and indeed a dirty work-around that avoids this ungeneric error notification).

My question is: are the unity-greeter developers open to a more generic approach? E.g. making the RegExp in the e-mail check configurable in some config file (there is no unity-greeter.conf IMHO(?))? What approach would you prefer/suggest?

If there is such an openness, I would love to support the team by providing such a patch? Will the effort be worth the invested time???

Greets,
Mike (from upstream X2Go) aka <email address hidden>

[1] http://code.x2go.org/gitweb?p=x2gobroker.git;a=shortlog;h=refs/heads/uccsoutput

Tags: patch

Related branches

Revision history for this message
Mike Gabriel (sunweaver) wrote :
affects: unity-greeter → unity-greeter (Ubuntu)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001_disable-email-check.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in unity-greeter (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.