vim /etc/gitlab/gitlab.rb, 可以配置很多个server,因此与sssd服务一样可以配置多个ldap作为高可用

gitlab-ctl reconfigure
gitlab-rake gitlab:ldap:check
gitlab-ctl restart
gitlab-rake gitlab:ldap:check
Checking LDAP ...
LDAP: ... Server: ldapmain
LDAP authentication... Success
LDAP users with access to your GitLab server (only showing the first 100 results)
Checking LDAP ... Finished













![【C++入门到精通】智能指针 [ C++入门 ]](https://img-blog.csdnimg.cn/direct/108d10fb122e41ad9888d25090dcca19.png#pic_center)

![恢复 iPhone 和 iPad 数据的 10 个好工具 - [苹果数据恢复]](https://img-blog.csdnimg.cn/img_convert/3505f6ca09ea34fe48be77e73043e18d.png)



