summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/realmdomains.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/realmdomains.py')
-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