From 2545389934d81b3ab717b5fad1614929d2b444db Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 18 Oct 2007 09:07:40 +0000 Subject: [PATCH] Fixed fonserver rename git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7589 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goFonServer.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_goFonServer.inc b/plugins/admin/systems/class_goFonServer.inc index 3e139ce11..21a2659cb 100644 --- a/plugins/admin/systems/class_goFonServer.inc +++ b/plugins/admin/systems/class_goFonServer.inc @@ -134,7 +134,7 @@ class goFonServer extends goService{ if($this->orig_dn != "new" && $this->orig_dn != $this->dn){ $ldap = $this->config->get_ldap_link(); $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