gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below
main: # 'main' is the GitLab 'provider ID' of this LDAP server
label: 'LDAP'
host: 'mail.example.com'
port: 389
uid: 'uid'
method: 'plain' # "tls" or "ssl" or "plain"
bind_dn: 'uid=asd,ou=People,dc=example,dc=com'
password: 'cokgizlibisifre'
active_directory: false
allow_username_or_email_login: true
block_auto_created_users: false
base: 'ou=People,dc=example,dc=com'
user_filter: '(objectClass=inetOrgPerson)'
attributes:
username: 'uid'
email: 'mail'
name: 'cn'
first_name: 'givenname'
last_name: 'sn'
Created
January 12, 2017 11:21
-
-
Save sinansh/fd02eb6dd58d7946d0e3672cc578ddbe to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment