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

Update the documentation for the LDAP user filter

parent 72abe9f6
...@@ -26,13 +26,20 @@ The filter must comply with [RFC 4515](http://tools.ietf.org/search/rfc4515). ...@@ -26,13 +26,20 @@ 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:
user_filter: '(employeeType=developer)' servers:
main:
user_filter: '(employeeType=developer)'
``` ```
Tip: if you want to limit access to the nested members of an Active Directory group you can use the following syntax: Tip: if you want to limit access to the nested members of an Active Directory group you can use the following syntax:
......
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