From 363a88d43a1fb7611f92128e8f619e238c07b592 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 16 Mar 2009 08:03:44 +0000 Subject: [PATCH] We don't need a dhcp and dns activation in the gosa.conf anymore, since GOsa is splittet into sepearte packages. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13546 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/gosa.conf | 69 +-------------------- gosa-core/setup/class_setupStep_Config2.inc | 38 +----------- gosa-core/setup/setup_config2.tpl | 59 ------------------ 3 files changed, 2 insertions(+), 164 deletions(-) diff --git a/gosa-core/contrib/gosa.conf b/gosa-core/contrib/gosa.conf index c4d668ce8..b90d95454 100644 --- a/gosa-core/contrib/gosa.conf +++ b/gosa-core/contrib/gosa.conf @@ -38,11 +38,7 @@ -{if $cv.use_netatalk} -{else} - -{/if} @@ -58,21 +54,13 @@ -{if $cv.enableMimeType} -{else} - -{/if} -{if $cv.enableFAI_management} -{else} - -{/if} @@ -119,7 +107,7 @@ -{if $cv.use_netatalk} {else} {/if} + @@ -191,13 +179,8 @@ -{if $cv.enableFAI_management} -{else} - - -{/if} @@ -208,13 +191,8 @@ -{if $cv.enableFAI_management} -{else} - - -{/if} @@ -326,48 +304,6 @@ - -{if $cv.enableFAI_management} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{else} - -{/if} - diff --git a/gosa-core/setup/class_setupStep_Config2.inc b/gosa-core/setup/class_setupStep_Config2.inc index 7a9a1cb8e..2ec4ede33 100644 --- a/gosa-core/setup/class_setupStep_Config2.inc +++ b/gosa-core/setup/class_setupStep_Config2.inc @@ -34,8 +34,6 @@ class Step_Config2 extends setup_step "vacationdir_active" => FALSE); var $generic_settings = array( "enableCopyPaste" => false, - "enableDNS" => false, - "enableDHCP" => false, "wws_ou" => "ou=winstations", "wws_ou_active" => FALSE, "snapshot_active" => FALSE, @@ -52,14 +50,10 @@ class Step_Config2 extends setup_step "samba_rid_active" => FALSE); var $sambaDomain_found = FALSE; - var $use_netatalk = FALSE; - var $enableFAI_management = FALSE; - var $enableMimeType = FALSE; - var $timezone = "Europe/Berlin"; var $timezones = array(); - var $attributes = array("mail_attrib","governmentmode","sambaidmapping","cyrusunixstyle","mail","use_netatalk","enableFAI_management","timezone","enableMimeType"); + var $attributes = array("mail_attrib","governmentmode","sambaidmapping","cyrusunixstyle","mail","timezone"); var $called = FALSE; function Step_Config2() @@ -116,30 +110,6 @@ class Step_Config2 extends setup_step $this->samba_settings['samba_rid_active'] = TRUE; } - /* Check if we can enable netatalk plugin */ - $tmp = $ldap->get_objectclasses(); - 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; - } - - /* Check the MimeType schema is used */ - if(is_array($tmp) && isset($tmp['gotoMimeType'])){ - $this->enableMimeType = TRUE; - } - - if(is_array($tmp) && isset($tmp['dhcpClass'])){ - $this->generic_settings['enableDHCP'] = TRUE; - } - - if(is_array($tmp) && isset($tmp['dNSZone'])){ - $this->generic_settings['enableDNS'] = TRUE; - } - $this->called = TRUE; } @@ -213,12 +183,6 @@ class Step_Config2 extends setup_step if(isset($_POST['enableCopyPaste'])){ $this->generic_settings['enableCopyPaste'] = get_post('enableCopyPaste'); } - if(isset($_POST['enableDNS'])){ - $this->generic_settings['enableDNS'] = get_post('enableDNS'); - } - if(isset($_POST['enableDHCP'])){ - $this->generic_settings['enableDHCP'] = get_post('enableDHCP'); - } if(isset($_POST['wws_ou_active'])){ $this->generic_settings['wws_ou_active'] = TRUE; diff --git a/gosa-core/setup/setup_config2.tpl b/gosa-core/setup/setup_config2.tpl index b6d806b31..f81536640 100644 --- a/gosa-core/setup/setup_config2.tpl +++ b/gosa-core/setup/setup_config2.tpl @@ -107,65 +107,6 @@ -
-
- {t}Enable DNS extension{/t} -
-
- - -
-
- -
-
- {t}Enable DHCP extension{/t} -
-
- - -
-
- -
-
- {t}Enable mime type management{/t} -
-
- - -
-
- -
-
- {t}Enable FAI release management{/t} -
-
- - -
-
- -
-
- {t}Enable user netatalk plugin{/t} -
-
- -
-
-
{t}Government mode{/t} -- 2.30.2