-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.yml
40 lines (40 loc) · 1.24 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
server:
port: 1389
ip: 0.0.0.0
updateinterval: 600 // intervall in seconds
cert: certs/ldap.crt
key: certs/ldap.key
sites:
ccf:
site:
name: sitename
user: username // User needs rights to the api in CT
password: secret1
url: https://sitename.church.tools/
ldap:
o: Organisation Name
dc: dc=myorg,dc=tld // domain components
admincn: admin
password: secret2
attributes: // fields to add to user
- name: key1
default: defaultvalue1
replacements: // add value to user with id
- id: id
value: extra
- name: key2
default: defaultvalue2
adminGroup:
cn: "admin" //
members: // personid s of users to put in admin group
- id
selectionGroupIds: // ChurchTools Group Ids - only members of these groups will be served by ldap
- gid
- gid
tranformedGroups: // ChurchTools Group Ids with the group name which will be served by Ldap
- gid: gid
name: Groupname
objectClass: usrObjClass // additionally set objectClass of User to that value if in group
- gid: gid
name: Groupname
// further ChurchTools sites to serve - following the same schema above