path: root/conf/templates/
diff options
authorMathieu Parent <>2009-08-27 21:13:18 (GMT)
committerMathieu Parent <>2009-08-27 21:13:18 (GMT)
commit9ebea40bf063db85fae817c85b36afa509fadf0a (patch)
tree9bdbf33f0afdadcb8465e6f971bd2f660656a7df /conf/templates/
parent6837302deff0723014788771a4f38ad039b7a78a (diff)
kolab/issue3765 (dist_conf'iguration for openldap module loading)
Diffstat (limited to 'conf/templates/')
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/templates/ b/conf/templates/
index 6602ef6..70a6e3a 100644
--- a/conf/templates/
+++ b/conf/templates/
@@ -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
# 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
# moduleload syncprov
replica-pidfile @ldapserverslurpd_pidfile@
replogfile @ldapserver_replogfile@