matrix-synapse-ldap3 allows synapse to use LDAP as a password provider. WWW: https://github.com/matrix-org/matrix-synapse-ldap3