summaryrefslogtreecommitdiffstats
path: root/roles/common-LDAP/templates/etc/default
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common-LDAP/templates/etc/default')
-rw-r--r--roles/common-LDAP/templates/etc/default/slapd.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/common-LDAP/templates/etc/default/slapd.j2 b/roles/common-LDAP/templates/etc/default/slapd.j2
index 92b3b22..f652f9a 100644
--- a/roles/common-LDAP/templates/etc/default/slapd.j2
+++ b/roles/common-LDAP/templates/etc/default/slapd.j2
@@ -20,11 +20,11 @@ SLAPD_PIDFILE=
# service requests on TCP-port 636 (ldaps) and requests via unix
# sockets.
SLAPD_SERVICES="ldapi:///"
-{% for i in postfix_instance.keys() | intersect(group_names) | list %}
+{% for i in ['IMAP','MX','lists'] | intersect(group_names) | sort %}
SLAPD_SERVICES="$SLAPD_SERVICES ldapi://%2Fvar%2Fspool%2Fpostfix-{{ postfix_instance[i].name }}%2Fprivate%2Fldapi/"
{% endfor %}
{% if 'LDAP-provider' in group_names %}
-SLAPD_SERVICES="$SLAPD_SERVICES ldap://172.16.0.1:389/"
+SLAPD_SERVICES="$SLAPD_SERVICES ldaps:///"
{% endif %}
# If SLAPD_NO_START is set, the init script will not start or restart