http://dacxzjk3kq5mmepbdd3ai2ifynlzxsnpl2cnkfhridqfywihrfftapid.onion/help/administration/auth/ldap/index.md
The following example shows how to configure three LDAP servers with
minimal configuration:
Linux package (Omnibus)
Edit /etc/gitlab/gitlab.rb :
gitlab_rails [ 'ldap_enabled' ] = true
gitlab_rails [ 'ldap_servers' ] = {
'main' => {
'label' => 'GitLab AD' ,
'host' => 'ad.mydomain.com' ,
'port' => 636 ,
'uid' => 'sAMAccountName' ,
'encryption' => 'simple_tls' ,
'base' => 'dc=example,dc=com' ,
},
'secondary' => {
'label' => 'GitLab Secondary AD' ,
...