소스 검색

Fix synapse LDAP simple bind config

When using LDAP simple bind, the `bind_dn` and `bind_password`
configuration values must not be present.
pull/1837/head
Vicx 4 년 전
부모
커밋
a906fad12e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 2
- 0
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 파일 보기

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


불러오는 중...
취소
저장