From: hickert Date: Thu, 21 Jun 2007 10:02:53 +0000 (+0000) Subject: Udpated setup to support an option for FAI release management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=28d7c5cfbd9fbfc3ec35c6b4b4776c74fab4c5f3;p=gosa.git Udpated setup to support an option for FAI release management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6653 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 47816a8d6..3dba2dced 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -61,10 +61,16 @@ + +{if $cv.enableFAI_management} + +{else} + +{/if} - +{if $cv.enableFAI_management} + +{else} + +{/if} @@ -174,7 +184,11 @@ - +{if $cv.enableFAI_management} + +{else} + +{/if} @@ -255,6 +269,7 @@ +{if $cv.enableFAI_management} @@ -283,6 +298,38 @@ +{else} + +{/if}
'SMBHASH', "samba_rid_active" => FALSE); - var $sambaDomain_found = FALSE; - var $use_netatalk = FALSE; + var $sambaDomain_found = FALSE; + var $use_netatalk = FALSE; + var $enableFAI_management = FALSE; - var $attributes = array("governmentmode","sambaidmapping","cyrusunixstyle","mail","use_netatalk"); + var $attributes = array("governmentmode","sambaidmapping","cyrusunixstyle","mail","use_netatalk","enableFAI_management"); var $called = FALSE; function Step_Config2() @@ -111,6 +112,12 @@ class Step_Config2 extends setup_step if(is_array($tmp) && isset($tmp['apple-user'])) { $this->use_netatalk = TRUE; } + + /* Check the FAI schema is used */ + if(is_array($tmp) && isset($tmp['FAIclass'])){ +# $this->enableFAI_management = TRUE; + } + $this->called = TRUE; } diff --git a/setup/setup_config2.tpl b/setup/setup_config2.tpl index af924b8b5..5189d7c50 100644 --- a/setup/setup_config2.tpl +++ b/setup/setup_config2.tpl @@ -81,6 +81,18 @@ +
+
+ {t}Enable FAI release management{/t} +
+
+ + +
+
+
{t}Enable user netatalk plugin{/t}