gerrit + LDAP搭建

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gerrit + LDAP搭建相关的知识,希望对你有一定的参考价值。

 

gerrit.config文件配置内容:

[gerrit]
        basePath = git
        canonicalWebUrl = http://127.0.0.1:7081/
[database]
        type = mysql
        database = reviewdb
        hostname = localhost
        username = root
[index]
        type = LUCENE
[auth]
        type = LDAP
[ldap]
        server = ldap://localhost
        username = cn=admin,dc=srcbin,dc=net
        accountBase = ou=Users,dc=srcbin,dc=net
        groupBase = ou=groups,dc=srcbin,dc=net
        groupMemberPattern = (member=${dn})
        accountFullName = cn
[sendemail]
        enable = true
        smtpServer = smtp.srcbin.net
        smtpServerPort = 465
        smtpEncryption = ssl
        smtpUser = [email protected]
        smtpPass = xxxxxx
        sslVerify = false
        from = 源码盒子<[email protected]>
[container]
        user = gerrit
        javaHome = /usr/lib/jvm/java-7-openjdk-amd64/jre
[sshd]
        listenAddress = *:29418
[httpd]
        listenUrl = http://127.0.0.1:7081/
[cache]
        directory = cache

 

 

 

 

 

aa

以上是关于gerrit + LDAP搭建的主要内容,如果未能解决你的问题,请参考以下文章

如何搭建基于ldap和mysql的gerrit服务

搭建gerrit服务详细步骤

Gitlab+Gerrit+Ldap+nginx+mysql 之 Gerrit 操作流程

ubuntu搭建gerrit+gitweb代码审核系统

Centos搭建CI持续集成系统环境--部署gerrit环境完整记录

crucible VS gerrit