summaryrefslogtreecommitdiffstats
path: root/roles/LDAP-provider
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-05-14 21:53:14 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:26 +0200
commit334b7604727810c02ecb8942f3753dee15466691 (patch)
tree5a3abd1691c8d15a85ca3b41b4bb400e66b4691f /roles/LDAP-provider
parent83ce4d28347d6bf7f8cd42e23465227548e3f878 (diff)
Upgrade the LDAP config to Jessie.
Diffstat (limited to 'roles/LDAP-provider')
-rw-r--r--roles/LDAP-provider/files/etc/ldap/syncprov.ldif2
-rw-r--r--roles/LDAP-provider/tasks/main.yml1
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/LDAP-provider/files/etc/ldap/syncprov.ldif b/roles/LDAP-provider/files/etc/ldap/syncprov.ldif
index 42f06a0..edb19c1 100644
--- a/roles/LDAP-provider/files/etc/ldap/syncprov.ldif
+++ b/roles/LDAP-provider/files/etc/ldap/syncprov.ldif
@@ -3,7 +3,7 @@
# - http://www.zytrax.com/books/ldap/ch7/#ol-syncrepl-rap
# - man 5 slapo-syncprov
-dn: olcOverlay=syncprov,olcDatabase={*}hdb,cn=config
+dn: olcOverlay=syncprov,olcDatabase={*}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: syncprov
diff --git a/roles/LDAP-provider/tasks/main.yml b/roles/LDAP-provider/tasks/main.yml
index fa212a0..3f7f29f 100644
--- a/roles/LDAP-provider/tasks/main.yml
+++ b/roles/LDAP-provider/tasks/main.yml
@@ -8,6 +8,7 @@
lineinfile: dest=/usr/lib/sasl2/slapd.conf
regexp='^mech_list'':'
line=mech_list':'' EXTERNAL'
+ create=yes
owner=root group=root
mode=0644