Add certificates, change default filter
This commit is contained in:
parent
9b02f1f25f
commit
78f0541c98
1 changed files with 4 additions and 1 deletions
|
|
@ -1,11 +1,14 @@
|
||||||
{% if postfix.ldap.enable %}
|
{% if postfix.ldap.enable %}
|
||||||
ldap_servers: {{ postfix.ldap.server.host }}/
|
ldap_servers: {{ postfix.ldap.server.host }}/
|
||||||
ldap_version: 3
|
ldap_version: 3
|
||||||
|
ldap_tls_cacert_file: {{ postfix.ldap.tls_cacert_file }}
|
||||||
|
ldap_tls_cert: {{ postfix.ldap.tls_cert }}
|
||||||
|
ldap_tls_key: {{ postfix.ldap.tls_key }}
|
||||||
ldap_bind_dn: {{ postfix.ldap.bind_dn }}
|
ldap_bind_dn: {{ postfix.ldap.bind_dn }}
|
||||||
ldap_bind_pw: {{ postfix.ldap.bind_pw }}
|
ldap_bind_pw: {{ postfix.ldap.bind_pw }}
|
||||||
ldap_search_base: {{ postfix.ldap.search_base }}
|
ldap_search_base: {{ postfix.ldap.search_base }}
|
||||||
ldap_scope: sub
|
ldap_scope: sub
|
||||||
ldap_filter: mail=%u
|
ldap_filter: uid=%u
|
||||||
ldap_auth_method: bind
|
ldap_auth_method: bind
|
||||||
{% else %}
|
{% else %}
|
||||||
# LDAP is not configured for this server.
|
# LDAP is not configured for this server.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue