From: hickert Date: Thu, 10 Apr 2008 07:58:51 +0000 (+0000) Subject: Updated servGeneric X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fd95e644ef92e7dde065b0ea543e4e0dd197056e;p=gosa.git Updated servGeneric -Base detection was not working properly git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10308 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc index 3e494c6f1..374450777 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -72,7 +72,7 @@ class servgeneric extends plugin $this->base= dn2base($ui->dn); $this->cn= ""; } else { - $this->base= preg_replace ("/^[^,]+,[^,]+,[^,]+,/", "", $this->dn); + $this->base= preg_replace ("/^[^,]+,".normalizePreg(get_ou("serverou"))."/", "", $this->dn); } $this->netConfigDNS = new termDNS($this->config,$this,$this->objectclasses); $this->netConfigDNS->set_acl_category("server");