问题描述
我已成功安装Gerrit并将其配置为使用LDAP.现在,用户可以使用自己的帐户登录到GUI,但是无法推送新代码.搜寻了问题之后,我发现他们必须定义HTTP密码或SSH嘿,以便在推送新代码时使用.
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.
是否可以使用LDAP密码代替创建单独的HTTP密码?
Is there any way to use the LDAP password instead of creating a separate HTTP password?
推荐答案
按照,在[auth]中添加gitBasicAuth = true解决了该问题.可以在gerrit_installation_path/etc/gerrit.config
As per Comment,Adding gitBasicAuth = true within [auth] fixed the problem. This configuration could be found in gerrit_installation_path/etc/gerrit.config
这篇关于推送到Gerrit时使用LDAP帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!