• Contact Us
  • Home
  • Reference

Using OpenLDAP with Matrix's Synapse home server software

Learn how to integrate OpenLDAP for user authentication and database storage in Matrix's Synapse home server software.

Written by Marty Heyman

Updated at July 14th, 2025

  • Quick Start
  • Installation
    Best Practices Configuration Troubleshooting Design Performance Platform
  • Maintenance
    Releases Upgrade
  • Reference
+ More

Matrix's Synapse is the reference implementation of a Matrix homeserver, written in Python. It allows users to run their own messaging server and participate in the decentralized Matrix network. Think of it as the core software that powers a Matrix server, similar to how an email server works. 

To use OpenLDAP with Matrix’s Synapse homeserver software, you can customize this YAML file to insert in the Synapse configuration file:

modules:
  - module: "ldap_auth_provider.LdapAuthProviderModule"
    config:
      enabled: true
      uri: "ldap://ldap"
      start_tls: false
      base: "ou=people,dc=example,dc=com"
      attributes:
        uid: "uid"
        mail: "mail"
        name: "cn"
        bind_dn: "uid=admin,ou=people,dc=example,dc=com"
        bind_password: "password"
        filter: "(objectClass=person)"

 

Copyright © 2020-2024 Symas Corporation. All rights reserved.
no title unnamed piece

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Using OpenLDAP with Zabbix
  • Using OpenLDAP with Wikijs
  • Symas Blog RSS Feed
  • Symas on Facebook
  • Symas on Twitter
  • Symas Blog
  • Symas on LinkedIn
  • Symas YouTube Channel

Copyright © 2023, Symas Corporation. All rights reserved. Privacy Statement (updated July 31, 2023)

Phone:

Main Office: +1.650.963.7601
Fax: +1.650.390.6284

Email:

Sales: sales@symas.com
Support: support@symas.com

Office Hours:

8:00 AM - 5:00 PM ET

Office Location:

Symas Corporation
PO Box 391
Grand Junction, CO 81507 USA

Expand