Affected Version: 2.9
What steps will reproduce the problem?
1. Configure LDAP to be the auth service. Create a group programmers ()can include "registered users")
2.create an account in gerrit using ssh (ssh -P <port> <host> gerrit create-account --group "programmers" <account_id_matching_LDAP>)
3. try to login in WEB GUI with <account_id_matching_LDAP>
It complains about not being able to assign user name and has an exception in logs saying that there is duplicate entry 'username:<account_id_matching_LDAP>' for key PRIMARY
I'd expect it to get all info from LDAP and log in the user.