Commit 1768e3ec authored by Jacob Vosmaer's avatar Jacob Vosmaer

Update the documentation for the LDAP user filter

parent 72abe9f6
...@@ -26,12 +26,19 @@ The filter must comply with [RFC 4515](http://tools.ietf.org/search/rfc4515). ...@@ -26,12 +26,19 @@ The filter must comply with [RFC 4515](http://tools.ietf.org/search/rfc4515).
```ruby ```ruby
# For omnibus-gitlab # For omnibus-gitlab
gitlab_rails['ldap_user_filter'] = '(employeeType=developer)' gitlab_rails['ldap_user_filter'] = '(employeeType=developer)'
gitlab_rails['ldap_servers'] = YAML.load <<-EOS
main:
# snip...
user_filter: '(employeeType=developer)'
EOS
``` ```
```yaml ```yaml
# For installations from source # For installations from source
production: production:
ldap: ldap:
servers:
main:
user_filter: '(employeeType=developer)' user_filter: '(employeeType=developer)'
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment