From: hickert Date: Mon, 6 Feb 2006 06:14:26 +0000 (+0000) Subject: Skip Zones for termDns X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=53afd593d3e60ffe1d25bdcc80001189d0e37197;p=gosa.git Skip Zones for termDns git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2622 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDNS.inc b/plugins/admin/systems/class_servDNS.inc index fa48534c4..be1cea9ee 100644 --- a/plugins/admin/systems/class_servDNS.inc +++ b/plugins/admin/systems/class_servDNS.inc @@ -131,6 +131,8 @@ class servdns extends plugin function execute() { + + print_a($this->Zones); /* Call parent execute */ plugin::execute(); diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index cc4c60583..abb4ad4f3 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -68,7 +68,7 @@ class termDNS extends plugin /* Get all records */ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->dn); - $ldap->search("(&(objectClass=dNSZone)(zoneName=*))",array("*")); + $ldap->search("(&(objectClass=dNSZone)(zoneName=*)(!(relativeDomainName=@)))",array("*")); while($attrs = $ldap->fetch()){ /* If relative domainname == cn