Advertisement
Guest User

Untitled

a guest
Apr 5th, 2017
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. gitlab_rails['ldap_enabled'] = true
  2. gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
  3. main:
  4. label: 'LDAP'
  5. host: '10.x.x.x'
  6. port: 389
  7. uid: 'gitldap'
  8. method: 'plain'
  9. bind_dn: 'CN=GIT LDAP,OU=C3_APP_USERS,OU=C3_USER_REPO,DC=C3,DC=LOCAL'
  10. password: 'password'
  11. active_directory: true
  12. allow_username_or_email_login: false
  13. block_auto_created_users: false
  14. base: 'DC=C3,DC=LOCAL'
  15. user_filter: 'user'
  16. attributes:
  17. username: ['uid', 'userid', 'sAMAccountName']
  18. email: ['mail', 'email', 'userPrincipalName']
  19. name: 'GIT LDAP'
  20. first_name: 'SVC_'
  21. last_name: 'GIT LDAP'
  22. label: 'LDAP'
  23. host: '10.x.x.x'
  24. port: 389
  25. uid: 'gitldap'
  26. method: 'plain'
  27. bind_dn: 'CN=GIT LDAP,OU=C3_APP_USERS,OU=C3_USER_REPO,DC=C3,DC=LOCAL'
  28. password: 'PASSWORD'
  29. active_directory: true
  30. allow_username_or_email_login: false
  31. block_auto_created_users: false
  32. base: 'DC=C3,DC=LOCAL'
  33. user_filter: 'user'
  34. attributes:
  35. username: ['uid', 'userid', 'sAMAccountName']
  36. email: ['mail', 'email', 'userPrincipalName']
  37. name: 'GIT LDAP'
  38. first_name: 'SVC_'
  39. last_name: 'GIT LDAP'
  40. EOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement