Sign inSign up

siji/gitlab-ce

By siji

•Updated almost 9 years ago

Mirror of gitlab/gitlab-ce:10.2.5-ce.0

Image
0

370

siji/gitlab-ce repository overview

GitLab Open LDAP integration:

Edit /etc/gitlab/gitlab.rb with following configuration and then run gitlab-ctl reconfigure

gitlab_rails['ldap_enabled'] = true

###! **remember to close this block with 'EOS' below**
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
  main: # 'main' is the GitLab 'provider ID' of this LDAP server
    label: 'LDAP'
    host: '192.168.122.20'
    port: 389
    uid: 'uid'
    bind_dn: 'cn=admin,dc=mycluster,dc=icp'
    password: 'admin'
    encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
    verify_certificates: false
    active_directory: false
    allow_username_or_email_login: false
    block_auto_created_users: false
    base: 'ou=users,dc=mycluster,dc=icp'
    user_filter: 'objectclass=person'
EOS

The Open LDAP user ObjectClasses are: inetOrgPerson, orgnizationalPerson and person

Tag summary

Content type

Image

Digest

Size

414.2 MB

Last updated

almost 9 years ago

docker pull siji/gitlab-ce:9.3.8-ce.0