Advertisement
Guest User

Untitled

a guest
Jan 12th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. gitlab_rails['ldap_enabled'] = true
  2. gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below
  3. main: # 'main' is the GitLab 'provider ID' of this LDAP server
  4. label: 'LDAP'
  5. host: 'mail.example.com'
  6. port: 389
  7. uid: 'uid'
  8. method: 'plain' # "tls" or "ssl" or "plain"
  9. bind_dn: 'uid=asd,ou=People,dc=example,dc=com'
  10. password: 'cokgizlibisifre'
  11. active_directory: false
  12. allow_username_or_email_login: true
  13. block_auto_created_users: false
  14. base: 'ou=People,dc=example,dc=com'
  15. user_filter: '(objectClass=inetOrgPerson)'
  16. attributes:
  17. username: 'uid'
  18. email: 'mail'
  19. name: 'cn'
  20. first_name: 'givenname'
  21. last_name: 'sn'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement