On Thu, Jan 3, 2013 at 9:02 AM, Chad Horohoe <[email protected]> wrote:

> On Sat, Dec 29, 2012 at 3:04 AM, Ryan Lane <[email protected]> wrote:
>
>> As for Gerrit, at some point your username was changed. You very likely
>> encountered a bug that was fixed earlier in the week. If you changed your
>> real name in your labsconsole preferences, it renamed your user. If you
>> logged in with "Fran" to Gerrit, then your username changed, then tried to
>> log in with "Fran McCrory", then Gerrit would see it as a duplicate
>> account, since it doesn't handle username changes well.
>>
>> I'm not totally sure how to fix this. I'm sure Chad does. I've CC'd him,
>> in case he's not on labs-l.
>>
>>
>
> The CN changed at some point? That totally shouldn't ever happen,
> and you're right that Gerrit won't know how to handle it (actually it
> would treat the two different CNs as different users).
>
>

I fixed a bug in MediaWiki core recently with regards to authentication
extensions updating preferences (like email address). LdapAuthentication,
when writing preferences used a hardcoded set of attributes. Real name was
hardcoded as CN. If someone changed their real name, it would then change
their username.

I've live hacked this issue away in LdapAuthentication, but Fran was one of
the unlucky few who changed their real name during that short window of
time.

- Ryan
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to