Use syncrepl on all OpenLDAP databases (creates contextCSN attribute)
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 Jan 2008 02:28:52 +0000 (13:28 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 18 Jan 2008 02:28:52 +0000 (13:28 +1100)
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)

source4/setup/slapd.conf

index e4e86eece93c06a4f43cb797f07e483dabd7f139..83f4da335901daf6055463186860e2bd5b927a41 100644 (file)
@@ -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}