reviewboard的LDAP认证的配置

来源:互联网 发布:usb6009数据采集卡 编辑:程序博客网 时间:2024/06/04 16:41

Reviewborad是个很强大的code review工具,支持的仓库包括CVS, Git, Subversion,perforce, 符合各种口味。安装的话,应该比较简单,如果机器可以连接外网的话,直接pip reviewboard,依赖的模块自动安装了。我们的机器无法直接连接外网,所以只能自己一个个源代码安装了,不过本人也喜欢源代码安装。

         其他的配置参考官方网站里面内容,可以很容易配置起来,LDAP的配置在官方网站中,只有匿名bind配置说明,需要账号密码的的bind配置没有,其实也很简单,下面是需要账号密码bind的配置。


LDAP Server:ldap://ip:port
LDAP Base DN:dc=company,dc=com
Given Name Attribute:givenName
Surname Attribute:sn
Full Name Attribute:displayName
E-Mail Domain:不填内容
E-Mail LDAP Attribute:mail
 Use TLS for authentication  不选择
User Mask:sAMAccountName=%s
Anonymous User Mask: 查询的账号密码,比如administrator@bj.company.com
Anonymous User Password: