Advertisement
Guest User

Untitled

a guest
Apr 10th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 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: 'passw0rd'
  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: '(&(objectCategory=user)(objectClass=user)(memberOf=CN=C3_GIT_Admin,OU=C3_PAAS_SUPPORT_TEAM,OU=C3_USER_REPO,DC=C3,DC=LOCAL))'
  16. attributes:
  17. username: ['uid', 'userid', 'sAMAccountName']
  18. email: ['mail', 'email', 'userPrincipalName']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement