-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbase-config.yaml
32 lines (30 loc) · 1.23 KB
/
base-config.yaml
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
# LDAP config
ldap:
uri: 'ldap://foo.bar.tld:389' # URI of your LDAP server
base_dn: 'cn=users,dc=foo,dc=bar,dc=tld' # base-DN of your user objects
connect_dn: 'uid=ldap-bot,cn=users,dc=foo,dc=bar,dc=tld' # DN of the user used to bind
connect_password: 'verySecure' # password of the user used to bind
user_filter: '(objectClass=inetOrgPerson)'
mxid_homeserver: 'matrix.server.tld' # Homeserver used to generate MXIDs from LDAP uids
# Rooms that should be synced
sync_rooms:
- alias: '#event-<1>-group-1:matrix.server.tld' # Aliases can include '<1>' placeholders
# Should the room be visible in the room list?
# Can be 'private' or 'public'
visibility: 'private'
# Names can include '<1>' placeholders
name: 'Foo <1>'
# LDAP members for this room
ldap_members:
- ldap_group: 'cn=event-<1>-group1,cn=groups,dc=foo,dc=bar,dc=tld'
power_level: 0
# Groups can include '<1>' placeholders
- ldap_group: 'cn=event-<1>-tutors1,cn=groups,dc=foo,dc=bar,dc=tld'
power_level: 100
# Hardcoded members for this room
members:
- mxid: '@super.admin:matrix.server.tld'
power_level: 100
# Users that are allowed to run a sync
admin_users:
- '@super.admin:matrix.server.tld'