diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-05-27 15:45:24 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-05-27 15:53:04 +0200 |
commit | 7dfb678df98b1b9ad420d9cbf4fe74f1553f34a7 (patch) | |
tree | 392762ea2915512c12dd819834179e88119fbc42 /doc/api/notes.md | |
parent | 3bdf0e2921c4cac46084834899302b25858e6bde (diff) | |
download | gitlab-ce-7dfb678df98b1b9ad420d9cbf4fe74f1553f34a7.tar.gz |
Revert "Actually use the 'user_filter' configuration option"
This reverts commit e9d4587ff11c8510f01dfa184414f73d75b4550b, which is
incompatible with GitLab's built in LDAP user filter: a GitLab LDAP
filter is [added on top of the other filters used to find the
user](https://gitlab.com/gitlab-org/gitlab-ce/blob/982d4d51e8110bec280eb00db0fb756b062103d9/lib/gitlab/ldap/adapter.rb#L61)
Example GitLab LDAP filter: `(memberOf=cn=foo,dc=bar)`.
In contrast, an omniauth-ldap filter [replaces the 'normal'
filters](https://gitlab.com/gitlab-org/omniauth-ldap/blob/76d77543dec0c585bb4e974262f43675f9810953/lib/omniauth/strategies/ldap.rb#L55)
Example omniauth-ldap user filter:
`(&(uid=%{username})(memberOf=cn=foo,dc=bar))`.
Diffstat (limited to 'doc/api/notes.md')
0 files changed, 0 insertions, 0 deletions