diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-18 13:28:52 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-01-18 13:28:52 +1100 |
commit | 958b0e8ad1eb85881a2f7c3d193d121c21e7a258 (patch) | |
tree | 8c49c9bb0f4516d80ac2d95e7a5f7014707de220 | |
parent | f106e67599a02426d5eaf87e9d76bec486427add (diff) | |
download | samba-958b0e8ad1eb85881a2f7c3d193d121c21e7a258.tar.gz samba-958b0e8ad1eb85881a2f7c3d193d121c21e7a258.tar.bz2 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)
-rw-r--r-- | source4/setup/slapd.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/setup/slapd.conf b/source4/setup/slapd.conf index e4e86eece9..83f4da3359 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} |