Commit 77c3dcf4 authored by Mike Jang's avatar Mike Jang

Merge branch 'fix-typo-in-query-ldap-section' into 'master'

Fix typo in Query LDAP section

See merge request gitlab-org/gitlab!47570
parents cbb7ee56 a3f462f0
...@@ -69,10 +69,10 @@ options = { ...@@ -69,10 +69,10 @@ options = {
# :filter is optional # :filter is optional
# 'cn' looks for all "cn"s under :base # 'cn' looks for all "cn"s under :base
# '*' is the search string - here, it's a wildcard # '*' is the search string - here, it's a wildcard
filter: Net::Ldap::Filter.eq('cn', '*'), filter: Net::LDAP::Filter.eq('cn', '*'),
# :attributes is optional # :attributes is optional
# the attributes we want to get returned # the attributes we want to get returnedk
attributes: %w(dn cn memberuid member submember uniquemember memberof) attributes: %w(dn cn memberuid member submember uniquemember memberof)
} }
adapter.ldap_search(options) adapter.ldap_search(options)
......
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