diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-06-20 14:29:08 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-21 13:46:15 +0200 |
commit | 22f4045f72daf182c44ce574291c0d8a7733713b (patch) | |
tree | ffaba8aca76841f47b2b849de51cef6fc286457f /ipaserver/plugins | |
parent | fac0c7b26002156e4154dc2bc5b198fccdaf71e0 (diff) | |
download | freeipa-22f4045f72daf182c44ce574291c0d8a7733713b.tar.gz freeipa-22f4045f72daf182c44ce574291c0d8a7733713b.tar.xz freeipa-22f4045f72daf182c44ce574291c0d8a7733713b.zip |
DNS: Fix realm domains integration with DNS zone add.
Realmdomains integration into DNS commands pre-dates split of DNS forward zones
and DNS master zones into two distinct commands.
There was an forgotten condition in dnszone_add command which caused omission
of DNS master zones with non-empty forwarders from realmdomain list.
https://fedorahosted.org/freeipa/ticket/5980
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r-- | ipaserver/plugins/dns.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipaserver/plugins/dns.py b/ipaserver/plugins/dns.py index 5c7ce51d4..fd8d84bda 100644 --- a/ipaserver/plugins/dns.py +++ b/ipaserver/plugins/dns.py @@ -2763,11 +2763,10 @@ class dnszone_add(DNSZoneBase_add): assert isinstance(dn, DN) # Add entry to realmdomains - # except for our own domain, forward zones, reverse zones and root zone + # except for our own domain, reverse zones and root zone zone = keys[0] if (zone != DNSName(api.env.domain).make_absolute() and - not options.get('idnsforwarders') and not zone.is_reverse() and zone != DNSName.root): try: |