summaryrefslogtreecommitdiffstats
path: root/roles/LDAP-provider/tasks/main.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-07 18:37:30 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:39 +0200
commit2dfe29dfcd35fae7160178e329fb0647cc896e3b (patch)
tree87670f8e62e07dceea26a58cf7aeaf0a57fb62af /roles/LDAP-provider/tasks/main.yml
parentddf4de6593756993f859c020bc6db046ca869846 (diff)
Remove o=mailHosting from the LDAP directory suffix.
So our suffix is now a mere 'dc=fripost,dc=org'. We're also using the default '/var/lib/ldap' as olcDbDirectory (hence we don't clear it before hand).
Diffstat (limited to 'roles/LDAP-provider/tasks/main.yml')
-rw-r--r--roles/LDAP-provider/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/LDAP-provider/tasks/main.yml b/roles/LDAP-provider/tasks/main.yml
index 48cc8d2..d221486 100644
--- a/roles/LDAP-provider/tasks/main.yml
+++ b/roles/LDAP-provider/tasks/main.yml
@@ -1,23 +1,23 @@
- name: Load and configure the syncprov overlay
openldap: module=syncprov state=present
- suffix=o=mailHosting,dc=fripost,dc=org
+ suffix=dc=fripost,dc=org
target=etc/ldap/syncprov.ldif
local=file
- name: Enable the EXTERNAL SASL mechanism
lineinfile: dest=/usr/lib/sasl2/slapd.conf
regexp='^mech_list'':'
line=mech_list':'' EXTERNAL'
owner=root group=root
mode=0644
- name: Copy the SyncRepls's client certificates
assemble: src=certs/ldap
remote_src=no
dest=/etc/ldap/ssl/clients.pem
owner=root group=root
mode=0644
tags:
- genkey
# TODO: authz constraint