summaryrefslogtreecommitdiffstats
path: root/source4/setup/slapd.conf
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-18 13:28:52 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-18 13:28:52 +1100
commit958b0e8ad1eb85881a2f7c3d193d121c21e7a258 (patch)
tree8c49c9bb0f4516d80ac2d95e7a5f7014707de220 /source4/setup/slapd.conf
parentf106e67599a02426d5eaf87e9d76bec486427add (diff)
downloadsamba-958b0e8ad1eb85881a2f7c3d193d121c21e7a258.tar.gz
samba-958b0e8ad1eb85881a2f7c3d193d121c21e7a258.tar.xz
samba-958b0e8ad1eb85881a2f7c3d193d121c21e7a258.zip
Use syncrepl on all OpenLDAP databases (creates contextCSN attribute)
This module needs to be loaded on each database, not just the main partition. We use it to create the usn for the entries. Andrew Bartlett (This used to be commit ffb12aad8a80bb90d66dc66baba81b856622a6bb)
Diffstat (limited to 'source4/setup/slapd.conf')
-rw-r--r--source4/setup/slapd.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/setup/slapd.conf b/source4/setup/slapd.conf
index e4e86eece93..83f4da33590 100644
--- a/source4/setup/slapd.conf
+++ b/source4/setup/slapd.conf
@@ -34,6 +34,12 @@ index lDAPDisplayName eq
index subClassOf eq
index cn eq
+#syncprov is stable in OpenLDAP 2.3, and available in 2.2.
+#We only need this for the contextCSN attribute anyway....
+overlay syncprov
+syncprov-checkpoint 100 10
+syncprov-sessionlog 100
+
database hdb
suffix ${CONFIGDN}
directory ${LDAPDIR}/db/config
@@ -48,6 +54,12 @@ index dnsRoot eq
index nETBIOSName eq
index cn eq
+#syncprov is stable in OpenLDAP 2.3, and available in 2.2.
+#We only need this for the contextCSN attribute anyway....
+overlay syncprov
+syncprov-checkpoint 100 10
+syncprov-sessionlog 100
+
database hdb
suffix ${DOMAINDN}
rootdn ${LDAPMANAGERDN}