matrix-synapse-ldap3 allows synapse to use LDAP as a password provider.