Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement