summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-11-25 09:57:07 +0100
committerJan Cholasta <jcholast@redhat.com>2015-11-25 13:39:45 +0100
commit6eeb4e4f2a9fb6fe5cf83e6b84c737ad3e295de1 (patch)
tree21052455c01a6243ee2dfaf249b2e21023d4603d /ipalib
parentaeffe2da42734655cbaedb2c4d4f9e28bd2df1c0 (diff)
downloadfreeipa-6eeb4e4f2a9fb6fe5cf83e6b84c737ad3e295de1.tar.gz
freeipa-6eeb4e4f2a9fb6fe5cf83e6b84c737ad3e295de1.tar.xz
freeipa-6eeb4e4f2a9fb6fe5cf83e6b84c737ad3e295de1.zip
Fix upgrade of forwardzones when zone is in realmdomains
https://fedorahosted.org/freeipa/ticket/5472 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/realmdomains.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/realmdomains.py b/ipalib/plugins/realmdomains.py
index 78fdfc937..46f3988a8 100644
--- a/ipalib/plugins/realmdomains.py
+++ b/ipalib/plugins/realmdomains.py
@@ -284,7 +284,7 @@ class realmdomains_mod(LDAPUpdate):
continue
try:
- api.Command['dnsrecord_add'](
+ self.api.Command['dnsrecord_add'](
unicode(domain),
u'_kerberos',
txtrecord=api.env.realm
@@ -313,7 +313,7 @@ class realmdomains_mod(LDAPUpdate):
continue
try:
- api.Command['dnsrecord_del'](
+ self.api.Command['dnsrecord_del'](
unicode(domain),
u'_kerberos',
txtrecord=api.env.realm