diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-01-21 11:05:03 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-01-21 11:05:03 +0100 |
commit | 2f4d0a3008d550f19a1dd3b354853a7295994308 (patch) | |
tree | 7e3da4bfe7578a08628ea6e10dcaa9db9de1050c /lib | |
parent | afd2999373fe1a6bdc611ab4a14e3e81d2f7350d (diff) | |
download | gitlab-ce-2f4d0a3008d550f19a1dd3b354853a7295994308.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 461e70ea44e..f48d26433c0 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 |