推送到Gerrit时使用LDAP帐户 [英] Using LDAP account while pushing to Gerrit

查看:563
本文介绍了推送到Gerrit时使用LDAP帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功安装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?

推荐答案

按照

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帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆