From 842b0b831f169e5f2bd33b37a93f1680119f960f Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 18 Oct 2007 09:08:25 +0000 Subject: [PATCH] Fixed fonserver rename git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7590 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servDB.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.30.2