Advertisement
GarbageYard

GitLab config

Oct 21st, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.72 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: 'XX.YYY.Z.XX'
  6.      port: 389
  7.      uid: 'sAMAccountName'
  8.      method: 'plain' # "tls" or "ssl" or "plain"
  9.      bind_dn: 'CN=john doe,OU=users,OU=Service Accounts,OU=corp,OU=India,OU=Users,OU=UserId&Rooms,DC=india,DC=local'
  10.      password: 'pwd12345'
  11.      active_directory: true
  12.      allow_username_or_email_login: true
  13.      block_auto_created_users: false
  14.      base: 'CN=john.doe,OU=users,OU=Service Accounts,OU=corp,OU=India,OU=Users,OU=UserId&Rooms,DC=india,DC=local'
  15.      user_filter: ''
  16.  EOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement