Skip to content

Instantly share code, notes, and snippets.

@abacha
Created May 5, 2016 13:52
Show Gist options
  • Select an option

  • Save abacha/238ed69e2f6c3b437183fedfe18078db to your computer and use it in GitHub Desktop.

Select an option

Save abacha/238ed69e2f6c3b437183fedfe18078db to your computer and use it in GitHub Desktop.
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: '_your_ldap_server'
port: 389
uid: 'sAMAccountName'
method: 'plain' "tls" or "ssl" or "plain"
bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
password: '_the_password_of_the_bind_user'
active_directory: true
allow_username_or_email_login: false
block_auto_created_users: false
base: ''
user_filter: ''
EE only
group_base: ''
admin_group: ''
sync_ssh_keys: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment