Fix synapse LDAP simple bind config

When using LDAP simple bind, the `bind_dn` and `bind_password`
configuration values must not be present.
pub.solar
Vicx 2022-05-20 19:09:16 +02:00 committed by teutat3s
parent 2460ab3609
commit bf240c5045
Signed by: teutat3s
GPG Key ID: 18DAE600A6BBE705
1 changed files with 2 additions and 0 deletions

View File

@ -2533,8 +2533,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 %}