Merge pull request #1837 from Lyokovic/vicx/fix-ldap-simple-bind

Fix synapse LDAP simple bind config
This commit is contained in:
Slavi Pantaleev 2022-05-24 10:40:28 +03:00 committed by GitHub
commit 63c755b115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2532,8 +2532,10 @@ password_providers:
uid: {{ matrix_synapse_ext_password_provider_ldap_attributes_uid|string|to_json }}
mail: {{ matrix_synapse_ext_password_provider_ldap_attributes_mail|string|to_json }}
name: {{ matrix_synapse_ext_password_provider_ldap_attributes_name|string|to_json }}
{% if matrix_synapse_ext_password_provider_ldap_bind_dn %}
bind_dn: {{ matrix_synapse_ext_password_provider_ldap_bind_dn|string|to_json }}
bind_password: {{ matrix_synapse_ext_password_provider_ldap_bind_password|string|to_json }}
{% endif %}
filter: {{ matrix_synapse_ext_password_provider_ldap_filter|string|to_json }}
{% endif %}
{% endif %}