summaryrefslogtreecommitdiff
path: root/conf/templates/slapd.conf.template.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/templates/slapd.conf.template.in')
-rw-r--r--conf/templates/slapd.conf.template.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/templates/slapd.conf.template.in b/conf/templates/slapd.conf.template.in
index 6602ef6..70a6e3a 100644
--- a/conf/templates/slapd.conf.template.in
+++ b/conf/templates/slapd.conf.template.in
@@ -13,6 +13,14 @@ KOLAB_META_END
# this file is automatically written by the Kolab config backend and should have the
# file mode 0640
+@@@if ldapserver_modulepath@@@
+modulepath @@@ldapserver_modulepath@@@
+moduleload back_bdb
+moduleload back_monitor
+moduleload refint
+moduleload unique
+@@@endif@@@
+
# manual additions are lost unless made to the template in the Kolab config directory
# the template is @sysconfdir@/kolab/templates/slapd.conf.template
@@ -31,7 +39,11 @@ argsfile @ldapserver_argsfile@
# or dynamically build. When build dynamically the module must be loaded.
# As the slapd that comes with the openpkg version of kolab is statically
# build it is not necessary to load the module.
+@@@if ldapserver_modulepath@@@
+moduleload syncprov
+@@@else@@@
# moduleload syncprov
+@@@endif@@@
@@@else@@@
replica-pidfile @ldapserverslurpd_pidfile@
replogfile @ldapserver_replogfile@