Fix upgrade of forwardzones when zone is in realmdomains
https://fedorahosted.org/freeipa/ticket/5472 Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
1 parent
aeffe2da42
commit
6eeb4e4f2a
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user