diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-02-05 21:25:26 +0100 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-02-05 21:25:26 +0100 |
commit | 69205578e8e520fd690f402e454729244eaa8d1c (patch) | |
tree | 5eafa21f6680451d0db39adb93ad849828bd056f | |
parent | 97ec936cfd827c2dcb5cb50914f53c6492d5f98a (diff) | |
download | gitlab-ce-fj-22607-lowercase-usernames-from-ldap.tar.gz |
Updating docfj-22607-lowercase-usernames-from-ldap
-rw-r--r-- | doc/administration/auth/ldap.md | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/doc/administration/auth/ldap.md b/doc/administration/auth/ldap.md index 5645babc565..63fbb24bac1 100644 --- a/doc/administration/auth/ldap.md +++ b/doc/administration/auth/ldap.md @@ -303,24 +303,31 @@ the configuration option `lowercase_usernames`. By default, this configuration o **Omnibus configuration** -```ruby -gitlab_rails['ldap_servers'] = YAML.load <<-EOS -main: - # snip... - lowercase_usernames: true -EOS -``` +1. Edit `/etc/gitlab/gitlab.rb`: + + ```ruby + gitlab_rails['ldap_servers'] = YAML.load <<-EOS + main: + # snip... + lowercase_usernames: true + EOS + ``` + +2. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect. **Source configuration** -```yaml -production: - ldap: - servers: - main: - # snip... - lowercase_usernames: true -``` +1. Edit `config/gitlab.yaml`: + + ```yaml + production: + ldap: + servers: + main: + # snip... + lowercase_usernames: true + ``` +2. [Restart GitLab](../restart_gitlab.md#installations-from-source) for the changes to take effect. ## Encryption |