summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-08 16:03:53 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-08 16:03:53 (GMT)
commitebb1d29c6e008c7072128e33f585e96b1a569447 (patch)
tree0c05dc6a799c080fb90b2ecdeec7c86dbc8f41b2
parent58b8fd880c03bf6a2e10306af2a146e67110fd10 (diff)
downloadkolab-conf-ebb1d29c6e008c7072128e33f585e96b1a569447.tar.gz
Make sure the module path is set correctly, and load the modules used in
a default deployment before attempting to load them as database overlays
-rw-r--r--conf/templates/slapd.conf.template.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/conf/templates/slapd.conf.template.in b/conf/templates/slapd.conf.template.in
index c23a480..14cf88a 100644
--- a/conf/templates/slapd.conf.template.in
+++ b/conf/templates/slapd.conf.template.in
@@ -19,8 +19,12 @@ KOLAB_META_END
include @ldapserver_schemadir@/core.schema
include @ldapserver_schemadir@/cosine.schema
include @ldapserver_schemadir@/inetorgperson.schema
-include @ldapserver_schemadir@/rfc2739.schema
+
+# This file is not available just like that.
+#include @ldapserver_schemadir@/rfc2739.schema
+
include @ldapserver_schemadir@/kolab2.schema
+
#include @ldapserver_schemadir@/horde.schema
pidfile @ldapserver_pidfile@
@@ -85,6 +89,12 @@ replica uri=ldap://@@@slurpd_addr@@@:@@@slurpd_port@@@
bindmethod=simple
credentials=secret
+@@@if ldapserver_modulepath@@@
+modulepath @@@ldapserver_modulepath@@@
+moduleload refint
+moduleload unique
+@@@endif@@@
+
#### Using overlays to improve data consistency
# Ensure that we never get dangling member attributes
# Checked on rename and delete