summaryrefslogtreecommitdiff
path: root/conf/templates/slapd.conf.template.in
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2009-08-27 21:13:18 (GMT)
committerMathieu Parent <math.parent@gmail.com>2009-08-27 21:13:18 (GMT)
commit9ebea40bf063db85fae817c85b36afa509fadf0a (patch)
tree9bdbf33f0afdadcb8465e6f971bd2f660656a7df /conf/templates/slapd.conf.template.in
parent6837302deff0723014788771a4f38ad039b7a78a (diff)
downloadkolab-conf-9ebea40bf063db85fae817c85b36afa509fadf0a.tar.gz
kolab/issue3765 (dist_conf'iguration for openldap module loading)
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@