Skip to content
Snippets Groups Projects
Commit fce242c0 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Add support for GitLab EE LDAP attributes

parent c2225cc5
No related branches found
No related tags found
1 merge request!60Gitlab Ee
Loading
Loading
@@ -86,6 +86,8 @@ default['gitlab']['gitlab-rails']['ldap_method'] = "ssl"
default['gitlab']['gitlab-rails']['ldap_bind_dn'] = "_the_full_dn_of_the_user_you_will_bind_with"
default['gitlab']['gitlab-rails']['ldap_password'] = "_the_password_of_the_bind_user"
default['gitlab']['gitlab-rails']['ldap_allow_username_or_email_login'] = true
default['gitlab']['gitlab-rails']['ldap_user_filter'] = ""
default['gitlab']['gitlab-rails']['ldap_group_base'] = ""
default['gitlab']['gitlab-rails']['satellites_path'] = "/var/opt/gitlab/git-data/gitlab-satellites"
default['gitlab']['gitlab-rails']['backup_path'] = "/var/opt/gitlab/backups"
default['gitlab']['gitlab-rails']['gitlab_shell_path'] = "/opt/gitlab/embedded/service/gitlab-shell/"
Loading
Loading
Loading
Loading
@@ -142,6 +142,19 @@ production: &base
# disable this setting, because the userPrincipalName contains an '@'.
allow_username_or_email_login: <%= @ldap_allow_username_or_email_login %>
 
# Filter LDAP users
#
# Format: RFC 4515
# Ex. (employeeType=developer)
#
user_filter: '<%= @ldap_user_filter %>'
# Base where we can search for groups
#
# Ex. ou=Groups,dc=gitlab,dc=example
#
group_base: '<%= @ldap_group_base %>'
## OmniAuth settings
omniauth:
# Allow login via Twitter, Google, etc. using OmniAuth providers
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment