diff options
author | Ana Krivokapic <akrivoka@redhat.com> | 2013-06-25 15:52:29 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2013-07-09 11:44:38 -0400 |
commit | 30e75797805b3483942ea76a21c9bb8a99d24ce1 (patch) | |
tree | f1ce2fa76e91f52b1c10634c70209f13ef35eb10 /ipaserver/install/adtrustinstance.py | |
parent | ea7db35b6224b8c67b789ac1eb35c9bc6c3eb6b5 (diff) | |
download | freeipa-30e75797805b3483942ea76a21c9bb8a99d24ce1.tar.gz freeipa-30e75797805b3483942ea76a21c9bb8a99d24ce1.tar.xz freeipa-30e75797805b3483942ea76a21c9bb8a99d24ce1.zip |
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
Diffstat (limited to 'ipaserver/install/adtrustinstance.py')
-rw-r--r-- | ipaserver/install/adtrustinstance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py index d2929801b..4eb20d951 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: |