-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.config.toml
52 lines (42 loc) · 1.21 KB
/
example.config.toml
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
41
42
43
44
45
46
47
48
49
50
51
52
[gapps.consumer]
servicekeyfile = "gapps.json"
adminaccount = "[email protected]"
[gapps.provider]
servicekeyfile = "gapps.json"
adminaccount = "[email protected]"
[gamma.provider]
apiKey = "key"
url = "http://gamma-backend:8081"
[auth.provider]
apiKey = "key"
url = "http://gamma-mock:8081"
[additions]
file = "additions.json"
[ldap]
url = "ldap.mydomain.ex:636"
servername = "mydomain.ex"
user = "cn=admin,dc=mydomain,dc=ex"
password = "PASSWORD"
custom = ["fkit", "kit"]
[ldap.groups]
basedn = "ou=groups,dc=mydomain,dc=ex"
filter = "(|(objectClass=itGroup)(objectClass=itPosition))"
attibutes = ["cn", "displayName", "mail", "member"]
[ldap.users]
basedn = "ou=people,dc=mydomain,dc=ex"
filter = "(&(objectClass=chalmersstudent))"
attibutes = ["uid", "mail"]
#### CUSTOM FILTERS ####
[ldap.fkit]
mail = "[email protected]"
basedn = "ou=fkit,ou=groups,dc=mydomain,dc=ex"
filter = "(&(objectClass=itGroup))"
parent_filter = "(&(ou=%childRDN%))"
attibutes = ["cn", "displayName", "mail"]
[ldap.kit]
mail = "[email protected]"
basedn = "ou=fkit,ou=groups,dc=mydomain,dc=ex"
filter = "(&(objectClass=itGroup)(type=Committee))"
parent_filter = "(&(ou=%childRDN%))"
attibutes = ["cn", "displayName", "mail"]
#### ============== ####