From 367fb3ae763ce1998114a0a02cf2b9394f02e72f Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Fri, 31 Mar 2017 14:26:29 +0200 Subject: [PATCH] Add missing config for tests Since conf assumes the ldap stuff to exist it also needs to be in the tests :( --- airtime_mvc/tests/conf/airtime.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/airtime_mvc/tests/conf/airtime.conf b/airtime_mvc/tests/conf/airtime.conf index 88930ecf9..1d48b4888 100644 --- a/airtime_mvc/tests/conf/airtime.conf +++ b/airtime_mvc/tests/conf/airtime.conf @@ -33,3 +33,16 @@ time_between_retries = 60 soundcloud_client_id = 0 soundcloud_client_secret = 0 soundcloud_redirect_uri = http://soundcloud.example.org/redirect + +[ldap] +hostname = ldap.example.org +binddn = 'uid=libretime,cn=sysaccounts,cn=etc,dc=int,dc=example,dc=org' +password = hackme +account_domain = INT.EXAMPLE.ORG +basedn = 'cn=users,cn=accounts,dc=int,dc=example,dc=org' +filter_field = uid +groupmap_guest = 'cn=guest,cn=groups,cn=accounts,dc=int,dc=example,dc=org' +groupmap_host = 'cn=host,cn=groups,cn=accounts,dc=int,dc=example,dc=org' +groupmap_program_manager = 'cn=program_manager,cn=groups,cn=accounts,dc=int,dc=example,dc=org' +groupmap_admin = 'cn=admins,cn=groups,cn=accounts,dc=int,dc=example,dc=org' +groupmap_superadmin = 'cn=superadmin,cn=groups,cn=accounts,dc=int,dc=example,dc=org'