gitlab集成ldap配置

来源:互联网 发布:linux 查看硬盘使用率 编辑:程序博客网 时间:2024/05/31 06:22
vim /home/git/gitlab/config/gitlab.yml

ldap:
    enabled: true
    servers:
        host: 'host'
        uid: 'uid'
        bind_dn: 'cn=root,dc=xxx,dc=com'
        password: 'xxx'

        base: 'dc=xxx,dc=com'


检查配置是否正确命令如下:

sudo -u git -H bundle exec rake gitlab:ldap:check RAILS_ENV=production

0 0
原创粉丝点击