From 9f94e7317fdcd64e34236ab527e89f91bd5ad7eb Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 16 Dec 2023 22:19:02 +0200
Subject: [PATCH] Matrix: LDAP search mode.

Maybe this will help with finding other users.
---
 Compose/matrix/synapse/homeserver.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Compose/matrix/synapse/homeserver.yaml b/Compose/matrix/synapse/homeserver.yaml
index 247c028..2bf0eeb 100644
--- a/Compose/matrix/synapse/homeserver.yaml
+++ b/Compose/matrix/synapse/homeserver.yaml
@@ -131,6 +131,7 @@ modules:
   - module: "ldap_auth_provider.LdapAuthProviderModule"
     config:
       enabled: true
+      mode: search
       uri: '{{ LDAP_URI or "ldapi:///run/slapd/ldapi" }}'
       start_tls: {{ LDAP_TLS or False }}
       base: '{{ LDAP_BASE_DN or "ou=People,dc=shore,dc=co,dc=il" }}'
-- 
GitLab