From 1759609ee93f3fcb8a7351c16f87418bcfbc9a58 Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Tue, 19 Jul 2016 12:54:56 -0600 Subject: [PATCH] Fix bad Group class resolution when querying LDAP via API --- lib/ee/gitlab/ldap/adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ee/gitlab/ldap/adapter.rb b/lib/ee/gitlab/ldap/adapter.rb index c78197dc1ec08f..c6c20efd425395 100644 --- a/lib/ee/gitlab/ldap/adapter.rb +++ b/lib/ee/gitlab/ldap/adapter.rb @@ -22,7 +22,7 @@ def groups(cn = "*", size = nil) options.merge!(size: size) if size ldap_search(options).map do |entry| - Group.new(entry, self) + LDAP::Group.new(entry, self) end end -- GitLab