summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-06-25 15:52:29 +0200
committerRob Crittenden <rcritten@redhat.com>2013-07-09 11:44:38 -0400
commit30e75797805b3483942ea76a21c9bb8a99d24ce1 (patch)
treef1ce2fa76e91f52b1c10634c70209f13ef35eb10
parentea7db35b6224b8c67b789ac1eb35c9bc6c3eb6b5 (diff)
downloadfreeipa-30e75797805b3483942ea76a21c9bb8a99d24ce1.zip
freeipa-30e75797805b3483942ea76a21c9bb8a99d24ce1.tar.gz
freeipa-30e75797805b3483942ea76a21c9bb8a99d24ce1.tar.xz
Fix bug in adtrustinstance
Incorrect tuple unpacking in adtrustinstance was causing ipa-adtrust-install to fail when IPA was installed with no DNS. https://fedorahosted.org/freeipa/ticket/3746
-rw-r--r--ipaserver/install/adtrustinstance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py
index d292980..4eb20d9 100644
--- a/ipaserver/install/adtrustinstance.py
+++ b/ipaserver/install/adtrustinstance.py
@@ -535,9 +535,9 @@ class ADTRUSTInstance(service.Service):
self.print_msg(err_msg)
self.print_msg("Add the following service records to your DNS " \
"server for DNS zone %s: " % zone)
- for (srv, rdata) in ipa_srv_rec:
+ for srv in ipa_srv_rec:
for suff in win_srv_suffix:
- self.print_msg(" - %s%s" % (srv, suff))
+ self.print_msg(" - %s%s" % (srv[0], suff))
return
for (srv, rdata, port) in ipa_srv_rec: