Commit 1d2af745 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Merge branch 'rephrase_ldap_check' into 'master'

Rephrase LDAP check script output
parents afd29993 2f4d0a30
......@@ -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
......
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