mirror of
https://github.com/samba-team/samba.git
synced 2025-12-02 00:23:50 +03:00
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 commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user