From 637d7b02d3cff5e4403cad7ed0408231e3033ba4 Mon Sep 17 00:00:00 2001 From: Otthorn Date: Fri, 29 Jan 2021 00:16:42 +0100 Subject: [PATCH] dovecot ldap conf --- .../templates/dovecot-ldap.conf.ext.j2 | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 roles/dovecot/templates/dovecot-ldap.conf.ext.j2 diff --git a/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 b/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 new file mode 100644 index 0000000..f99e82e --- /dev/null +++ b/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 @@ -0,0 +1,20 @@ +# {{ ansible_managed }} +# Dovecot configuration for Aurore +# More info at https://gitea.auro.re/Aurore/ansible +# And on the Dovecot wiki : https://doc.dovecot.org/ + +uris = {{ ldap_master_uri }} +dn = {{ ldap_dovecot_bind_dn }} +dnpass = {{ ldap_dovecot_password }} +base = {{ ldap_user_tree }} + +#user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid +#user_filter = (&(objectClass=posixAccount)(uid=%u)) + +pass_attrs = uid=user, userPassword=password +pass_filter = (&(objectClass=posixAccount)(uid=%u)) + +# Convert LDAP lookup to lowercase +# would be needed if re2o did not already had lowercase enforced by a +# validator +#auth_username_format = %Lu