Issue 2832: account created via SSH can't login using LDAP auth
Status:  New
Owner: ----
Reported by eug...@sazhin.us, Aug 14, 2014

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.