aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-04 12:06:32 +0100
committerGravatar Joe Banks <[email protected]>2024-08-04 12:07:26 +0100
commita3d356beaf92776a041e6738c82638f4d6f2524a (patch)
treea741ddfbb72a0de5d4819e2813f49744bba98b0d /ansible
parentsasl: Add SMTPD config for Postfix to use new SASL preferences (diff)
sasl: Add new templated LDAP config for saslauthd
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/sasl/templates/saslauthd.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/sasl/templates/saslauthd.conf.j2 b/ansible/roles/sasl/templates/saslauthd.conf.j2
new file mode 100644
index 0000000..5e887e7
--- /dev/null
+++ b/ansible/roles/sasl/templates/saslauthd.conf.j2
@@ -0,0 +1,5 @@
+ldap_servers: {{ sasl_ldap_server }}
+ldap_search_base: {{ sasl_ldap_search_base }}
+ldap_bind_dn: {{ sasl_ldap_bind_dn }}
+ldap_bind_pw: {{ sasl_ldap_bind_pw }}
+ldap_filter: (uid=%u)