Skip to main content

An LDAP3 auth provider for Synapse

Project description

Allows synapse to use LDAP as a password provider.


  • Via deb package python-matrix-synapse-ldap3 available in the same repo as the synapse package
  • Via python’s package manager: pip install matrix-synapse-ldap3


Example synapse config:

 - module: "ldap_auth_provider.LdapAuthProvider"
     enabled: true
     uri: "ldap://"
     start_tls: true
     base: "ou=users,dc=example,dc=com"
        uid: "cn"
        mail: "email"
        name: "givenName"
     #filter: "(objectClass=posixAccount)"

Troubleshooting and Debugging

matrix-synapse-ldap3 logging is included in the Synapse homeserver log (typically homeserver.log). The LDAP plugin log level can be increased to DEBUG for troubleshooting and debugging by making the following modifications to your Synapse server’s logging configuration file:

  • Set the value for handlers.file.level to DEBUG:
    # [...]
    level: DEBUG
  • Add the following to the loggers section:
   # [...]
     level: DEBUG
     level: DEBUG

Finally, restart your Synapse server for the changes to take effect:

synctl restart

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for matrix-synapse-ldap3, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size matrix-synapse-ldap3-0.1.3.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page