Skip to content

Commit

Permalink
Add documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatoly Sablin committed Dec 26, 2019
1 parent 82a538c commit 15db563
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/MSC2140_MSC2134.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,11 @@ exec:
hashEnabled: true # enable the hash lookup (defaults is false)
```

For ldap providers:
```.yaml
ldap:
lookup: true
```

NOTE: Federation requests work only with `none` algorithms.

19 changes: 19 additions & 0 deletions ma1sd.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,25 @@ threepid:
# lookup:
# 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)
#policy:
# policies:
Expand Down

0 comments on commit 15db563

Please sign in to comment.