summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-04-22 17:20:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-04-22 18:37:19 +1000
commite11f92ba73028b608207ed91aaa22376756d7a73 (patch)
tree82740420c450fb597ecfb0cac29441587b239905 /source4/setup
parent47e7e487469fa1f3fafe0a52560e0049801a5ac7 (diff)
downloadsamba-e11f92ba73028b608207ed91aaa22376756d7a73.tar.gz
samba-e11f92ba73028b608207ed91aaa22376756d7a73.tar.bz2
samba-e11f92ba73028b608207ed91aaa22376756d7a73.zip
s4:provision Make OpenLDAP backend more robust
With the extra moduleload lines (which succeed if it's already staticly linked), we now work with OpenLDAP overlays as modules. Andrew Bartlett
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/slapd.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/source4/setup/slapd.conf b/source4/setup/slapd.conf
index b0e151ba32..c592b6e757 100644
--- a/source4/setup/slapd.conf
+++ b/source4/setup/slapd.conf
@@ -48,12 +48,20 @@ defaultsearchbase ${DOMAINDN}
rootdn cn=Manager
+moduleload rdnval
+
+moduleload deref
overlay deref
+moduleload refint
${REFINT_CONFIG}
+moduleload memberof
${MEMBEROF_CONFIG}
+moduleload syncprov
+moduleload hdb
+
database ldif
suffix cn=Samba
directory ${LDAPDIR}/db/samba
@@ -87,8 +95,8 @@ ${INDEX_CONFIG}
overlay syncprov
syncprov-sessionlog 100
syncprov-checkpoint 100 10
-overlay rdnval
+overlay rdnval
### Multimaster-Replication of cn=schema Subcontext ###
${MMR_SYNCREPL_SCHEMA_CONFIG}
@@ -108,6 +116,7 @@ ${INDEX_CONFIG}
overlay syncprov
syncprov-sessionlog 100
syncprov-checkpoint 100 10
+
overlay rdnval
### Multimaster-Replication of cn=config Subcontext ###
@@ -128,6 +137,7 @@ ${INDEX_CONFIG}
overlay syncprov
syncprov-sessionlog 100
syncprov-checkpoint 100 10
+
overlay rdnval
### Multimaster-Replication of cn=user/base-dn context ###