summaryrefslogtreecommitdiffstats
path: root/roles/LDAP-provider
diff options
context:
space:
mode:
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