Code

Fixed fonserver rename
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Oct 2007 09:07:40 +0000 (09:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Oct 2007 09:07:40 +0000 (09:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7589 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_goFonServer.inc

index 3e139ce113bb174a0103895da76e7cb7c45dd154..21a2659cb59031f55f8f7c7a92128245377d1c26 100644 (file)
@@ -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'];