From: hickert Date: Thu, 21 Jun 2007 10:41:37 +0000 (+0000) Subject: Added FAI option to setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=446f12d96b44a84baff740f7af92a5ec4da81e81;p=gosa.git Added FAI option to setup git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6656 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 5c2f36d46..2cf1d4b33 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -58,10 +58,16 @@ + +{if $cv.enableFAI_management} + +{else} + +{/if} {/if} +{if $cv.enableFAI_management} +{else} + +{/if} @@ -179,7 +189,11 @@ - +{if $cv.enableFAI_management} + +{else} + +{/if} @@ -261,6 +275,7 @@ +{if $cv.enableFAI_management} @@ -289,6 +304,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() @@ -106,6 +107,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 d8d09e76a..d85d5126a 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}