Add certificates, change default filter

This commit is contained in:
Morre 2020-07-10 12:07:44 +02:00
parent 9b02f1f25f
commit 78f0541c98
No known key found for this signature in database
GPG key ID: 5D9B9B1B8F424BBC

View file

@ -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.