Commit 1d2af74578a8133866b1a19caf0f2003eeaa7096
Exists in
spb-stable
and in
3 other branches
Merge branch 'rephrase_ldap_check' into 'master'
Rephrase LDAP check script output
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/gitlab/check.rake
@@ -698,7 +698,7 @@ namespace :gitlab do | @@ -698,7 +698,7 @@ namespace :gitlab do | ||
698 | end | 698 | end |
699 | 699 | ||
700 | def print_users(limit) | 700 | def print_users(limit) |
701 | - puts "LDAP users with access to your GitLab server (limit: #{limit}):" | 701 | + puts "LDAP users with access to your GitLab server (only showing the first #{limit} results)" |
702 | ldap.search(attributes: attributes, filter: filter, size: limit, return_result: false) do |entry| | 702 | ldap.search(attributes: attributes, filter: filter, size: limit, return_result: false) do |entry| |
703 | puts "DN: #{entry.dn}\t#{ldap_config.uid}: #{entry[ldap_config.uid]}" | 703 | puts "DN: #{entry.dn}\t#{ldap_config.uid}: #{entry[ldap_config.uid]}" |
704 | end | 704 | end |