diff --git a/roles/slapd/tasks/main.yml b/roles/slapd/tasks/main.yml index f1ff8b87..111d98ff 100644 --- a/roles/slapd/tasks/main.yml +++ b/roles/slapd/tasks/main.yml @@ -21,7 +21,7 @@ owner: openldap group: openldap notify: Restart slapd - + - name: Deploy ldap services lineinfile: path: /etc/default/slapd diff --git a/roles/slapd/templates/ldap/slapd.conf.j2 b/roles/slapd/templates/ldap/slapd.conf.j2 index 95f92a54..3e539f01 100644 --- a/roles/slapd/templates/ldap/slapd.conf.j2 +++ b/roles/slapd/templates/ldap/slapd.conf.j2 @@ -112,10 +112,12 @@ syncrepl binddn="cn=replicator,dc=crans,dc=org" credentials=test1234 # TODO cranspasswords searchbase="dc=crans,dc=org" - schemachecking=on - type=refreshOnly - interval=00:00:10:00 scope=sub + schemachecking=on + type=refreshAndPersist + timeout=0 + network-timeout=0 + retry="30 20 300 +" tls_reqcert=allow {% endif %}