From: hickert Date: Thu, 18 Oct 2007 09:08:25 +0000 (+0000) Subject: Fixed fonserver rename X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=842b0b831f169e5f2bd33b37a93f1680119f960f;p=gosa.git Fixed fonserver rename git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7590 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDB.inc b/plugins/admin/systems/class_servDB.inc index cff0976ce..50fbb31b5 100644 --- a/plugins/admin/systems/class_servDB.inc +++ b/plugins/admin/systems/class_servDB.inc @@ -283,7 +283,7 @@ class servdb extends plugin if(in_array("goFonServer",$this->objectclasses)){ if($this->orig_dn != "new" && $this->orig_dn != $this->dn){ $ldap->cd($this->config->current['BASE']); - $ldap->search("(&(goFonHomeServer=*)(|(objectClass=goFonAccount)(objectClass=goFonConference)))",array("goFonHomeServer")); + $ldap->search("(&(goFonHomeServer=".$this->orig_dn.")(|(objectClass=goFonAccount)(objectClass=goFonConference)))",array("goFonHomeServer")); $dns = array(); while($attrs = $ldap->fetch()){ $dns[] = $attrs['dn'];