Description of problem: Error while running trustdomain-find Version-Release number of selected component (if applicable): ipa-server-3.3.3-12.el7.x86_64 How reproducible: Steps to Reproduce: 1. Setup trust with AD having child domain 2. Run # ipa trustdomain-find addomain.com Actual results: [root@dhcp207-218 ~]# ipa trustdomain-find adtest.qe Domain name: adtest.qe Domain NetBIOS name: ADTEST Domain Security Identifier: S-1-5-21-1910160501-511572375-3625658879 ipa: ERROR: TypeError: sequence item 0: expected string, bool found Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1293, in run sys.exit(api.Backend.cli.run(argv)) File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1073, in run rv = cmd.output_for_cli(self.api.Backend.textui, result, *args, **options) File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 1026, in output_for_cli textui.print_entries(result, order, labels, flags, print_all) File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 349, in print_entries self.print_entry(entry, order, labels, flags, print_all, format, indent) File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 388, in print_entry label, value, format, indent, one_value_per_line File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 296, in print_attribute text = ', '.join(value) TypeError: sequence item 0: expected string, bool found ipa: ERROR: an internal error has occurred Expected results: [root@dhcp207-218 ~]# ipa trustdomain-find adtest.qe Domain name: adtest.qe Domain NetBIOS name: ADTEST Domain Security Identifier: S-1-5-21-1910160501-511572375-3625658879 Domain enabled: True Domain name: pune.adtest.qe Domain NetBIOS name: PUNE Domain Security Identifier: S-1-5-21-91314187-2404433721-1858927112 Domain enabled: True ---------------------------- Number of entries returned 2 ----------------------------
Upstream ticket: https://fedorahosted.org/freeipa/ticket/4122
Fixed upstream: ipa-3-3: 90b31e99fed17a8a505f9ec67677e6d1ab7078da cli.print_attribute: Convert values to strings
[root@hp-bl280cg6-01 ~]# echo Secret123 | ipa trust-add adtest.qe --type ad --admin administrator --password -------------------------------------------------- Added Active Directory trust for realm "adtest.qe" -------------------------------------------------- Realm name: adtest.qe Domain NetBIOS name: ADTEST Domain Security Identifier: S-1-5-21-1910160501-511572375-3625658879 SID blacklist incoming: S-1-0, S-1-1, S-1-2, S-1-3, S-1-5-1, S-1-5-2, S-1-5-3, S-1-5-4, S-1-5-5, S-1-5-6, S-1-5-7, S-1-5-8, S-1-5-9, S-1-5-10, S-1-5-11, S-1-5-12, S-1-5-13, S-1-5-14, S-1-5-15, S-1-5-16, S-1-5-17, S-1-5-18, S-1-5-19, S-1-5-20 SID blacklist outgoing: S-1-0, S-1-1, S-1-2, S-1-3, S-1-5-1, S-1-5-2, S-1-5-3, S-1-5-4, S-1-5-5, S-1-5-6, S-1-5-7, S-1-5-8, S-1-5-9, S-1-5-10, S-1-5-11, S-1-5-12, S-1-5-13, S-1-5-14, S-1-5-15, S-1-5-16, S-1-5-17, S-1-5-18, S-1-5-19, S-1-5-20 Trust direction: Two-way trust Trust type: Active Directory domain Trust status: Established and verified [root@hp-bl280cg6-01 ~]# ipa trustdomain-find adtest.qe Domain name: adtest.qe Domain NetBIOS name: ADTEST Domain Security Identifier: S-1-5-21-1910160501-511572375-3625658879 Domain enabled: True Domain name: pune.adtest.qe Domain NetBIOS name: PUNE Domain Security Identifier: S-1-5-21-91314187-2404433721-1858927112 Domain enabled: True ---------------------------- Number of entries returned 2 ---------------------------- Verified in version [root@hp-bl280cg6-01 ~]# rpm -q ipa-server ipa-server-3.3.3-13.el7.x86_64
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.