Method: Gitlab::QA::Scenario::Test::Integration::LDAP#ldap_servers_omnibus_config

Defined in:
lib/gitlab/qa/scenario/test/integration/ldap.rb

#ldap_servers_omnibus_configObject



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/gitlab/qa/scenario/test/integration/ldap.rb', line 31

def ldap_servers_omnibus_config
  YAML.safe_load <<~CFG
    main:
      label: LDAP
      host: #{ldap_hostname}
      port: #{tls ? LDAP_TLS_PORT : LDAP_PORT}
      uid: 'uid'
      bind_dn: #{BIND_DN}
      password: #{ADMIN_PASSWORD}
      encryption: #{tls ? 'simple_tls' : 'plain'}
      verify_certificates: false
      base: #{BASE_DN}
      user_filter: ''
      group_base: #{GROUP_BASE}
      admin_group: #{ADMIN_GROUP}
      external_groups: ''
      sync_ssh_keys: false
  CFG
end