问题
I have successfully installed Gerrit and configured it to use LDAP. Now users can login to the GUI with their accounts however they can't push new code. After googling the problem I figured that they must define an HTTP password or SSH hey in order to be used while pushing new code.
Is there any way to use the LDAP password instead of creating a separate HTTP password?
回答1:
As per Comment, Adding gitBasicAuth = true within [auth] fixed the problem. This configuration could be found in gerrit_installation_path/etc/gerrit.config
来源:https://stackoverflow.com/questions/33585208/using-ldap-account-while-pushing-to-gerrit