summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e722143)
raw | patch | inline | side by side (parent: e722143)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Dec 2009 12:43:28 +0000 (12:43 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Dec 2009 12:43:28 +0000 (12:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14872 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc | patch | blob | history | |
gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZone.inc | patch | blob | history |
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 c436a0708f014999dd9893a480cc5cde0361f04b..b1a2f38b63a6ebe2a2fda82a364c1219442148ed 100644 (file)
/* 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
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 cc1daff377d33244e30bcc1e052ac14e65bf73e4..d31bedd0e53a4be734c923e6ba03fa2fcec5f237 100644 (file)
/* 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;
}
}