diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 461e70ea44eed5f59c9c5ffb2cb90cb29d43f3e4..f48d26433c00c33aff662b0601e1210b7f368978 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -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