Using LDAP account while pushing to Gerrit

安稳与你 提交于 2019-12-24 11:58:25

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!