dataset/seed/dovecot/templates/ldapsource.cf

13 lines
590 B
CFEngine3

server_host = ldaps://{{ general.ldap.server.ldap_server_address }}
server_port = {{ general.ldap.server.ldap_port }}
tls_cert = {{ general.tls_cert_directory }}/postfix_ldap_client.crt
tls_key = {{ general.tls_key_directory }}/postfix_ldap_client.key
tls_ca_cert_file = {{ general.tls_ca_directory }}/LDAP.crt
tls_require_cert = yes
version = 3
bind = yes
bind_dn = {{ general.ldap.client.ldapclient_user }}
bind_pw = {{ general.ldap.client.ldapclient_user_password }}
search_base = {{ general.ldap.client.ldapclient_search_dn }}
query_filter = (mailLocalAddress=%s)
result_attribute = cn