Support for Active Directory multidomain forest

In AD forest samAccountName (or uid) may not be unique in the
entire forest and userPrincipalName contains "@" symbol
disallowed in Matrix User Identifiers.

This commit reflects changes in ldap_auth_provider that adds
mxid generation logic for Active Directory.

Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
This commit is contained in:
Yuri Konotopov
2020-08-18 22:53:56 +04:00
parent 08db73e55b
commit 7323851c6e
3 changed files with 97 additions and 2 deletions

View File

@@ -165,6 +165,8 @@ threepid:
# ldap:
# enabled: true
# lookup: true # hash lookup
# activeDirectory: false
# defaultDomain: ''
# connection:
# host: 'ldap.domain.tld'
# port: 389