From 6eeb4e4f2a9fb6fe5cf83e6b84c737ad3e295de1 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 25 Nov 2015 09:57:07 +0100 Subject: Fix upgrade of forwardzones when zone is in realmdomains https://fedorahosted.org/freeipa/ticket/5472 Reviewed-By: Petr Spacek --- ipalib/plugins/realmdomains.py | 4 ++-- 1 file 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 -- cgit