Use server specific admin_group

parent 0f536151
...@@ -261,8 +261,8 @@ objectclass: posixGroup ...@@ -261,8 +261,8 @@ objectclass: posixGroup
describe 'ldap_groups' do describe 'ldap_groups' do
let(:ldap_group_1) do let(:ldap_group_1) do
Net::LDAP::Entry.from_single_ldif_string( Net::LDAP::Entry.from_single_ldif_string(
%Q{dn: cn=#{Gitlab.config.ldap['admin_group']},ou=groups,dc=bar,dc=com %Q{dn: cn=#{access.ldap_config.admin_group},ou=groups,dc=bar,dc=com
cn: #{Gitlab.config.ldap['admin_group']} cn: #{access.ldap_config.admin_group}
description: GitLab group 1 description: GitLab group 1
gidnumber: 42 gidnumber: 42
memberuid: user1 memberuid: user1
......
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