Code

Added snmp-community to setup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Oct 2007 07:28:57 +0000 (07:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Oct 2007 07:28:57 +0000 (07:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7680 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/gosa.conf
setup/class_setupStep_Config3.inc
setup/setup_config3.tpl

index c48dc3a32b3e1adaa6814cc839b42d02f2ed8813..701f8c4e2b4aa91a2efd851038ba93747e7f1dca 100644 (file)
                <tab class="termservice" name="Devices" />
                <tab class="printgeneric" name="Printer" />
                <tab class="terminfo" name="Information" 
-                       snmpcommunity="goto" />
+                       snmpcommunity="{$cv.optional.snmpcommunity}" />
                <tab class="glpiAccount" name="Inventory" />
        </termtabs>
 
 <!--   <tab class="servdhcp" name="DHCP" /> -->
 {/if}
                <tab class="terminfo" name="Information" 
-                       snmpcommunity="goto" />
+                       snmpcommunity="{$cv.optional.snmpcommunity}" />
                <tab class="glpiAccount" name="Inventory" />
        </servtabs>
 
                <tab class="workservice" name="Devices" />
                <tab class="printgeneric" name="Printer" />
                <tab class="terminfo" name="Information" 
-                       snmpcommunity="goto" />
+                       snmpcommunity="{$cv.optional.snmpcommunity}" />
 {if $cv.enableFAI_management}
            <tab class="faiSummaryTab" name="FAI summary" />
 {else}
index 15d31a5020fd397dda590245b34973fce462ceb8..3ad9a4d46745e405d8e9fce33c7632efb998a17b 100644 (file)
@@ -37,6 +37,7 @@ class Step_Config3 extends setup_step
               "ppd_path" => "/var/spool/ppd/",
               "ppd_path_active" => FALSE,
               "compile" =>  "/var/spool/gosa",
+              "snmpcommunity" =>  "goto",
               "debuglevel" => 0,
               "session_lifetime" => 7200,
               "max_ldap_query_time" => "5.0",
index 724bae7157a785a94d655e63680a843efe592522..4e649cf4490da31ec0605105ccd42e36a9dcbdc0 100644 (file)
                                type='text' value='{$optional.compile}'>
         </div>
     </div>
+    <div class='step4_container'>
+        <div class='step4_name'>
+            {t}SNMP community{/t}
+        </div>
+        <div class='step4_value'>
+                       <input size=40 id='compile' name='snmpcommunity' 
+                               type='text' value='{$optional.snmpcommunity}'>
+        </div>
+    </div>
     <div class='step4_container'>
         <div class='step4_name'>
             {t}Path for PPD storage{/t}