summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-11-26 23:36:38 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:50:56 +0200
commitddbd54a44814fb81cd27e21edbdc0e9a90f03d91 (patch)
treeeeb787a9d5bc8b71aeb66261aebf46dafcb4794a /roles
parentfca34cf712aacaa2d8db7a05d93daf3b949e7891 (diff)
Optimize LDAP modifications.
For non-indexed attributes, do not ask the LDAP server to modify values in the symmetric difference of A (the entry found in the directory) and B (the target). That is, we replace A by B only when they are disjoint; otherwise we remove values in A-B and add those in B-A.
Diffstat (limited to 'roles')
-rw-r--r--roles/common/tasks/ldap.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/common/tasks/ldap.yml b/roles/common/tasks/ldap.yml
index 26ab349..cb1e835 100644
--- a/roles/common/tasks/ldap.yml
+++ b/roles/common/tasks/ldap.yml
@@ -53,6 +53,7 @@
openldap: target=/etc/ldap/{{ item }} state=present
with_items:
- schema/fripost.ldif
+ # TODO load other required schemas *before* loading the database
- fripost/database.ldif
- name: Load LDAP modules