Skip to content
Snippets Groups Projects
Commit 6d324f08 authored by M. Ricketts's avatar M. Ricketts Committed by Rémy Coutable
Browse files

Use limit parameter rather than hardcoded value

parent a337ae07
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -784,7 +784,7 @@ namespace :gitlab do
servers.each do |server|
puts "Server: #{server}"
Gitlab::LDAP::Adapter.open(server) do |adapter|
users = adapter.users(adapter.config.uid, '*', 100)
users = adapter.users(adapter.config.uid, '*', limit)
users.each do |user|
puts "\tDN: #{user.dn}\t #{adapter.config.uid}: #{user.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