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
This commit is contained in:
Ana Krivokapic 2013-06-25 15:52:29 +02:00 committed by Rob Crittenden
parent ea7db35b62
commit 30e7579780

View File

@ -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: