Code

Added attributes to ldap->search
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Mar 2006 05:03:55 +0000 (05:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Mar 2006 05:03:55 +0000 (05:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2920 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc

index c7e70311d97c938427cfd1e84cbef7f52b66ca2a..9ec385ffb012234e0cd6288ee3d7fb736fa4b250 100644 (file)
@@ -508,7 +508,7 @@ $ldap->modify ($this->attrs);
     $ret = array();
     $ldap = $this->config->get_ldap_link();
     $ldap-> cd ($this->config->current['BASE']);
-    $ldap->search("(&(objectClass=dNSZone)(sOARecord=*))",array("*"));
+    $ldap->search("(&(objectClass=dNSZone)(sOARecord=*))",array("zoneName","tXTRecord"));
     
     while($at = $ldap->fetch()){
       if(preg_match("/\.in\-addr\.arpa/",$at['zoneName'][0])){