From: cajus Date: Tue, 9 May 2006 12:11:43 +0000 (+0000) Subject: Added IP as must field for components and phones. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=659644192e2761aaac313b3561ed28558f0dc427;p=gosa.git Added IP as must field for components and phones. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3234 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/TODO b/TODO index c22c3c563..8e1b3eccc 100644 --- a/TODO +++ b/TODO @@ -28,7 +28,7 @@ Target for 2.4.1: * Auto-Resize for subdialogs -* Fix fai objects to generate tags if needed (sub objects, phone me...) +* Fix fai objects to generate tags if needed (sub objects) * Add macAddress replacement for tc's and servers, too diff --git a/plugins/admin/systems/class_componentGeneric.inc b/plugins/admin/systems/class_componentGeneric.inc index 7ac18845e..fbd5412c3 100644 --- a/plugins/admin/systems/class_componentGeneric.inc +++ b/plugins/admin/systems/class_componentGeneric.inc @@ -34,7 +34,7 @@ class componentGeneric extends plugin } else { $this->base= preg_replace ("/^[^,]+,[^,]+,[^,]+,/", "", $this->dn); } - $this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses); + $this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses, true); /* Save dn for later references */ $this->orig_dn= $this->dn; } diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc index 000969000..6186d366b 100644 --- a/plugins/admin/systems/class_phoneGeneric.inc +++ b/plugins/admin/systems/class_phoneGeneric.inc @@ -56,7 +56,7 @@ class phoneGeneric extends plugin function phonegeneric ($config, $dn= NULL) { plugin::plugin ($config, $dn); - $this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses); + $this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses, true); /* Set base */ if ($this->dn == "new"){