[Kolab-devel] [issue3006] Surround the horde schema include in slapd.conf.template with @@@ conditionals

Richard Bos kolab-issues at intevation.de
Sun Aug 24 10:58:46 CEST 2008


New submission from Richard Bos <ml at radoeka.nl>:

Until now the include in slapd.conf.template for horde is always commented
out.  As it is now possible to use @@@if conditionals in this template,
that particular line can be surround with the @@@conditials, see e.g. the
patch below:

diff -u -r1.21 slapd.conf.template.in
--- slapd.conf.template.in      14 Aug 2008 19:33:06 -0000      1.21
+++ slapd.conf.template.in      24 Aug 2008 08:42:57 -0000
@@ -21,7 +21,9 @@
 include @ldapserver_schemadir@/inetorgperson.schema
 include @ldapserver_schemadir@/rfc2739.schema
 include @ldapserver_schemadir@/kolab2.schema
-#include @ldapserver_schemadir@/horde.schema
+@@@if enable_horde@@@
+include @ldapserver_schemadir@/horde.schema
+@@@endif@@@

kolaconf has been tested with this and it works as expected, just
add the line enable_horde : true in the kolab.conf and the line is included.
Is the name enable_horde okay, or should it be different like horde_enable,
or just horde?

Is it okay to commit this patch?

----------
messages: 16344
nosy: bernhard, martin, rbos, thomas, wilde, wrobel
priority: minor bug
status: unread
title: Surround the horde schema include in slapd.conf.template with @@@ conditionals
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3006>
___________________________________________________




More information about the devel mailing list