码迷,mamicode.com
首页 > 其他好文 > 详细

gerrit + LDAP搭建

时间:2016-12-27 22:19:26      阅读:726      评论:0      收藏:0      [点我收藏+]

标签:mem   data   review   localhost   ase   directory   div   cache   httpd   

 

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 = noreply@srcbin.net
        smtpPass = xxxxxx
        sslVerify = false
        from = 源码盒子<noreply@srcbin.net>
[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搭建

标签:mem   data   review   localhost   ase   directory   div   cache   httpd   

原文地址:http://www.cnblogs.com/jingzhishen/p/6227432.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!