diff options
| author | Petr Spacek <pspacek@redhat.com> | 2015-10-09 14:58:14 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2015-10-14 12:42:25 +0200 |
| commit | 644bb4fd9d5c406eab0fbeb18d8f9063775ed5d3 (patch) | |
| tree | 9704b654a65d0c23273524167206e9b364adad3e | |
| parent | 9d562038addb1e653f91031731f62e91325c1591 (diff) | |
ipa-adtrust-install: Print complete SRV records
https://fedorahosted.org/freeipa/ticket/5358
Reviewed-By: Tomas Babej <tbabej@redhat.com>
| -rw-r--r-- | ipaserver/install/adtrustinstance.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py index acc54ab83..f7a789990 100644 --- a/ipaserver/install/adtrustinstance.py +++ b/ipaserver/install/adtrustinstance.py @@ -593,9 +593,10 @@ 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 in ipa_srv_rec: - for suff in win_srv_suffix: - self.print_msg(" - %s%s" % (srv[0], suff)) + for suff in win_srv_suffix: + for srv in ipa_srv_rec: + self.print_msg("%s%s IN SRV %s" % (srv[0], suff, " ".join(srv[1]))) + self.print_msg("") return for (srv, rdata, port) in ipa_srv_rec: |
