diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc
index bca8b91eafa02e07123d980b403e05915f47f873..58d9a23a2d59eb13417237478e2f3fb96a574d1f 100644 (file)
over the whole ldap server was 10 to 20 times slower.
*/
$deps = array();
- $ou = preg_replace("/,.*$/","",get_ou("systemsou"));
+ $ou = preg_replace("/,.*$/","",get_ou("systemRDN"));
$a_ous = array(get_ou("serverRDN"),
get_ou("terminalRDN"),
- get_ou("workstationou"),
- get_ou("printerou"),
- get_ou("phoneou"),
- get_ou("componentou"));
+ get_ou("workstationRDN"),
+ get_ou("printerRDN"),
+ get_ou("phoneRDN"),
+ get_ou("componentRDN"));
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
$smarty->assign("changeStateForRecords",$changeStateForRecords);
$smarty->assign("staticAddress","<font class=\"must\">*</font>");
+ $smarty->assign("autonetACL",$this->acl_is_writeable("macAddress").$this->acl_is_writeable("ipHostNumber"));
+
$display.= $smarty->fetch(get_template_path('network.tpl', TRUE));
}