Skip to content
Snippets Groups Projects
Commit 2f4d0a30 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Rephrase LDAP check script output

The previous phrasing lead some people to believe that there is a limit
on the number of LDAP users that can sign in to a GitLab instance. That
is not the case; the limit in the check script only applies to the
diagnostic information result set, so that running `rake gitlab:check`
does not output thousands of LDAP users.
parent afd29993
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -698,7 +698,7 @@ namespace :gitlab do
end
 
def print_users(limit)
puts "LDAP users with access to your GitLab server (limit: #{limit}):"
puts "LDAP users with access to your GitLab server (only showing the first #{limit} results)"
ldap.search(attributes: attributes, filter: filter, size: limit, return_result: false) do |entry|
puts "DN: #{entry.dn}\t#{ldap_config.uid}: #{entry[ldap_config.uid]}"
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment