On 24 Sep 2019, at 15:48, Michael Croes <myc...@gmail.com> wrote:Hi list,Thanks for the rubber duck therapy. I found that there was a behavior that had changed in Gerrit 2.16, requiring an email address to be unique across all identities.
The externalIds were unique, but for every account I had gerrit:<username> and mailto:<email> externalIds. Obviously the mailto externalId had an email set, and for some accounts there also was an email set on the gerrit:<user> externalId. I actually couldn't even push refs/meta/external-ids as it was in Gerrit due to the duplicate email values.
So I have to disagree with you, nevertheless thanks for your response.
Regards,
Michael
On 24 Sep 2019, at 16:36, Michael Croes <myc...@gmail.com> wrote:Hi Luca,
The externalIds were unique, but for every account I had gerrit:<username> and mailto:<email> externalIds. Obviously the mailto externalId had an email set, and for some accounts there also was an email set on the gerrit:<user> externalId.
I actually couldn't even push refs/meta/external-ids as it was in Gerrit due to the duplicate email values.
So I have to disagree with you, nevertheless thanks for your response.
I (or my team) have to run through meta/external-id fixes at least once
a week because of this.
Hi Karl,is your problem the same as https://bugs.chromium.org/p/gerrit/issues/detail?id=11246 ?
On 26 Sep 2019, at 02:25, Karl <karukomi...@jp.panasonic.com> wrote:Hi Karl,is your problem the same as https://bugs.chromium.org/p/gerrit/issues/detail?id=11246 ?Partly yes.However, in our case, newly created user also cannot login due to:WARN com.google.gerrit.server.account.AccountManager : Email user.registered.after.gerrit.upd...@example.net is already assigned to account GERRIT_USER_ID; cannot create external ID gerrit:sAMAccountName-for-this-user with the same email for account GERRIT_USER_ID_GERRIT_SOMEHOW_TRIED_TO_CREATE.I suspect that the following issue is also related in our case:Because most of our userid are numeric digits only (7 digits).
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/89bd4e28-b82a-4095-976e-93ef76934c9d%40googlegroups.com.
> To unsubscribe, email repo-d...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Repo and Gerrit Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to repo-d...@googlegroups.com
> <mailto:repo-discuss+unsub...@googlegroups.com>.
Please look carefully at the additional test-cases that I have added to the AccountManagerIT:I have included exactly the use-cases that you guys have described and, no surprise, they were failing before my fix.The failure was exactly the one you mentioned.Therefore, if the change https://gerrit-review.googlesource.com/c/gerrit/+/238833 gets successfully reviewed and merged, you guys can avoid using the "external-ids" cleanup by hand, and the users would just be able again to login via LDAP without issues.P.S. As soon as the build is done on the CI, you can download the release.war and try by yourself.