From df92a2782c461e00652cedaf053b236ba3649447 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 7 Oct 2009 12:32:36 +0000 Subject: [PATCH] We've only two cases - Snapshot enabled -> We require all variables to be set - Snapshot disabled-> Insert empty dummy value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14557 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/gosa.conf | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gosa-core/contrib/gosa.conf b/gosa-core/contrib/gosa.conf index 7e894e256..663b8f887 100644 --- a/gosa-core/contrib/gosa.conf +++ b/gosa-core/contrib/gosa.conf @@ -565,18 +565,16 @@ {/if} {if $cv.generic_settings.snapshot_active} enableSnapshots="true" -{if $cv.generic_settings.snapshot_base != ""} snapshotBase="{$cv.generic_settings.snapshot_base}" -{/if} -{if $cv.generic_settings.snapshot_user != ""} snapshotAdminDn="{$cv.generic_settings.snapshot_user}" -{/if} -{if $cv.generic_settings.snapshot_password != ""} snapshotAdminPassword="{$cv.generic_settings.snapshot_password}" -{/if} -{if $cv.generic_settings.snapshot_server != ""} snapshotURI="{$cv.generic_settings.snapshot_server}" -{/if} +{else} + enableSnapshots="false" + snapshotBase="" + snapshotAdminDn="" + snapshotAdminPassword="" + snapshotURI="" {/if} config="ou=gosa,ou=configs,ou=systems,{$cv.base}"> -- 2.30.2