Merge pull request #2387 from etkecc/synapse-ext-ldap-mode
add mode var for synapse ext ldap auth
This commit is contained in:
commit
a8d417f91e
@ -725,6 +725,7 @@ matrix_synapse_ext_password_provider_shared_secret_config_yaml: |
|
|||||||
matrix_synapse_ext_password_provider_ldap_enabled: false
|
matrix_synapse_ext_password_provider_ldap_enabled: false
|
||||||
matrix_synapse_ext_password_provider_ldap_uri: "ldap://ldap.mydomain.tld:389"
|
matrix_synapse_ext_password_provider_ldap_uri: "ldap://ldap.mydomain.tld:389"
|
||||||
matrix_synapse_ext_password_provider_ldap_start_tls: true
|
matrix_synapse_ext_password_provider_ldap_start_tls: true
|
||||||
|
matrix_synapse_ext_password_provider_ldap_mode: "search"
|
||||||
matrix_synapse_ext_password_provider_ldap_base: ""
|
matrix_synapse_ext_password_provider_ldap_base: ""
|
||||||
matrix_synapse_ext_password_provider_ldap_attributes_uid: "uid"
|
matrix_synapse_ext_password_provider_ldap_attributes_uid: "uid"
|
||||||
matrix_synapse_ext_password_provider_ldap_attributes_mail: "mail"
|
matrix_synapse_ext_password_provider_ldap_attributes_mail: "mail"
|
||||||
|
@ -2511,6 +2511,7 @@ password_providers:
|
|||||||
- module: "ldap_auth_provider.LdapAuthProvider"
|
- module: "ldap_auth_provider.LdapAuthProvider"
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
mode: {{ matrix_synapse_ext_password_provider_ldap_mode | string | to_json }}
|
||||||
uri: {{ matrix_synapse_ext_password_provider_ldap_uri | string|to_json }}
|
uri: {{ matrix_synapse_ext_password_provider_ldap_uri | string|to_json }}
|
||||||
start_tls: {{ matrix_synapse_ext_password_provider_ldap_start_tls|to_json }}
|
start_tls: {{ matrix_synapse_ext_password_provider_ldap_start_tls|to_json }}
|
||||||
base: {{ matrix_synapse_ext_password_provider_ldap_base | string|to_json }}
|
base: {{ matrix_synapse_ext_password_provider_ldap_base | string|to_json }}
|
||||||
|
Loading…
Reference in New Issue
Block a user