Code

Remove  
[gosa.git] / gosa-core / setup / class_setupStep_Config3.inc
index e30ac63500a24ad4e1533d1b210c7154a7538c58..1592df8389192b065f85d7efd30ac2b9db5a7ede 100644 (file)
@@ -53,13 +53,17 @@ class Step_Config3 extends setup_step
               "notifydir" => "",
               "notifydir_active" => FALSE,
 
+              "gosaSupportURI" => "gosa-si-secret@server:20081",
+              "gosaSupportTimeout" => 15,
+              "gosaSupportURI_active" => FALSE,
+
               "uniq_identifier" => "entryCSN",
               "uniq_identifier_active" => TRUE,
 
               "kioskpath" => "/var/spool/kiosk",
               "kioskpath_active" => FALSE,
 
-              "sudoou"   => "ou=sudoers,%BASE%",
+              "sudoou"   => "ou=sudoers",
               "sudoou_active" => FALSE,
 
               "noprimarygroup"  => FALSE);
@@ -171,6 +175,16 @@ class Step_Config3 extends setup_step
         $this->optional['notifydir_active'] = FALSE;
       }
 
+      if(isset($_POST['gosaSupportURI_active'])){
+        $this->optional['gosaSupportURI_active'] = TRUE;
+        if(isset($_POST['gosaSupportURI'])){
+          $this->optional['gosaSupportURI'] = get_post('gosaSupportURI');
+          $this->optional['gosaSupportTimeout'] = get_post('gosaSupportTimeout');
+        }
+      }else{
+        $this->optional['gosaSupportURI_active'] = FALSE;
+      }
+
       if(isset($_POST['uniq_identifier_active'])){
         $this->optional['uniq_identifier_active'] = TRUE;
         if(isset($_POST['uniq_identifier'])){