From f6f371b45c68dcc202d20e4343bac705fd5d7655 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 7 Dec 2009 12:43:28 +0000 Subject: [PATCH] Updated arpa mapping git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14872 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dns/admin/systems/services/dns/class_servDNS.inc | 6 +++--- .../admin/systems/services/dns/class_servDNSeditZone.inc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc index c436a0708..b1a2f38b6 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc +++ b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc @@ -308,8 +308,8 @@ class servdns extends goService /* Add Records which uses this reverse zone */ - if(isset($zones[$rev.".in-addr.arpa"])){ - $used = array_merge($used,$zones[$rev.".in-addr.arpa"]); + if(isset($zones[$rev.".in-addr.arpa."])){ + $used = array_merge($used,$zones[$rev.".in-addr.arpa."]); } /* There are still entries using this configuration @@ -452,7 +452,7 @@ class servdns extends goService foreach($tmp['del'] as $dn => $del){ $for = $del['InitialzoneName']; - $rev = DNS::FlipIp($del['InitialReverseZone']).".in-addr.arpa"; + $rev = DNS::FlipIp($del['InitialReverseZone']).".in-addr.arpa."; $ldap->cd($dn); $ldap->rmdir_recursive($dn); diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZone.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZone.inc index cc1daff37..d31bedd0e 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZone.inc +++ b/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZone.inc @@ -115,7 +115,7 @@ class servdnseditZone extends plugin /* Check if this used, in this case disable forward and reverse configuration */ $tmp = $this->getUsedZoneNames(); $this->Zone_is_used = FALSE; - if(isset($tmp[DNS::FlipIp($this->InitialReverseZone).".in-addr.arpa"])){ + if(isset($tmp[DNS::FlipIp($this->InitialReverseZone).".in-addr.arpa."])){ $this->Zone_is_used = TRUE; } } -- 2.30.2