generated from traefik/plugindemo
-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
ldapAuth-conf.yml
31 lines (31 loc) · 994 Bytes
/
ldapAuth-conf.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
http:
middlewares:
my-ldapAuth:
plugin:
ldapAuth:
Enabled: true
LogLevel: "DEBUG"
Attribute: "uid"
BaseDN: "dc=example,dc=com"
AllowedGroups:
- ou=mathematicians,dc=example,dc=com
- ou=italians,ou=scientists,dc=example,dc=com
AllowedUsers:
- euler
- uid=euclid,dc=example,dc=com
# SearchFilter must escape curly braces when using yml file
# https://yaml.org/spec/1.1/#id872840
# SearchFilter: (\{\{.Attribute\}\}=\{\{.Username\}\})
ServerList:
- Url: "ldap://ldap.forumsys.com"
Port: 389
Weight: 10
- Url: "ldap://ldap4.forumsys.com"
Port: 636
Weight: 9
- Url: "ldap://ldap3.forumsys.com"
Port: 389
Weight: 11
- Url: "ldap://ldap2.forumsys.com"
Port: 636
Weight: 12