Add documentation.
This commit is contained in:
@@ -136,5 +136,11 @@ exec:
|
|||||||
hashEnabled: true # enable the hash lookup (defaults is false)
|
hashEnabled: true # enable the hash lookup (defaults is false)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For ldap providers:
|
||||||
|
```.yaml
|
||||||
|
ldap:
|
||||||
|
lookup: true
|
||||||
|
```
|
||||||
|
|
||||||
NOTE: Federation requests work only with `none` algorithms.
|
NOTE: Federation requests work only with `none` algorithms.
|
||||||
|
|
||||||
|
@@ -131,6 +131,25 @@ threepid:
|
|||||||
# lookup:
|
# lookup:
|
||||||
# query: 'select user_id as mxid, medium, address from user_threepids' # query for retrive 3PIDs for hashes.
|
# query: 'select user_id as mxid, medium, address from user_threepids' # query for retrive 3PIDs for hashes.
|
||||||
|
|
||||||
|
### hash lookup for ldap provider (with example of the ldap configuration)
|
||||||
|
# ldap:
|
||||||
|
# enabled: true
|
||||||
|
# lookup: true # hash lookup
|
||||||
|
# connection:
|
||||||
|
# host: 'ldap.domain.tld'
|
||||||
|
# port: 389
|
||||||
|
# bindDn: 'cn=admin,dc=domain,dc=tld'
|
||||||
|
# bindPassword: 'Secret'
|
||||||
|
# baseDNs:
|
||||||
|
# - 'dc=domain,dc=tld'
|
||||||
|
# attribute:
|
||||||
|
# uid:
|
||||||
|
# type: 'uid' # or mxid
|
||||||
|
# value: 'cn'
|
||||||
|
# name: 'displayName'
|
||||||
|
# identity:
|
||||||
|
# filter: '(objectClass=inetOrgPerson)'
|
||||||
|
|
||||||
#### MSC2140 (Terms)
|
#### MSC2140 (Terms)
|
||||||
#policy:
|
#policy:
|
||||||
# policies:
|
# policies:
|
||||||
|
Reference in New Issue
Block a user