Bug 1714921
| Summary: | x509.Name -> ipapython.dn.DN does not handle multi-valued RDNs | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Florence Blanc-Renaud <frenaud> |
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.7 | CC: | myusuf, ndehadra, pasik, pvoborni, rcritten, tscherf |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.6.6-1.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-31 19:55:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Florence Blanc-Renaud
2019-05-29 08:06:53 UTC
Upstream ticket: https://pagure.io/freeipa/issue/7963 Fixed upstream:
master:
https://pagure.io/freeipa/c/891d54e46f9c237493f7985d4d8ea19d4d051d09 dn: handle multi-valued RDNs in Name conversion
ipa-4-6:
https://pagure.io/freeipa/c/030ec9a82767310cdebe26847741d22e6f5da9bc dn: handle multi-valued RDNs in Name conversion
ipa-4-7:
https://pagure.io/freeipa/c/b4936d9e17486ec5f849740bd4d431449004537d dn: handle multi-valued RDNs in Name conversion
Fixed upstream
master:
https://pagure.io/freeipa/c/ad7472970305f7be2d3afc65fda1e86296d118dd dn: sort AVAs when converting from x509.Name
ipa-4-7:
https://pagure.io/freeipa/c/cc2bbcf6b3a5967324d698b42976f2de4df45375 dn: sort AVAs when converting from x509.Name
ipa-4-6:
https://pagure.io/freeipa/c/9e3f47103441bb28448c6177a64bbad67e08e2b2 dn: sort AVAs when converting from x509.Name
version: ipa-server-4.6.6-9.el7.x86_64 Autmation logs: [root@master ~]# python2 -m unittest -v ipatests.test_ipapython.test_dn test_cmp (ipatests.test_ipapython.test_dn.TestAVA) ... ok test_create (ipatests.test_ipapython.test_dn.TestAVA) ... ok test_hashing (ipatests.test_ipapython.test_dn.TestAVA) ... ok test_indexing (ipatests.test_ipapython.test_dn.TestAVA) ... ok test_properties (ipatests.test_ipapython.test_dn.TestAVA) ... ok test_str (ipatests.test_ipapython.test_dn.TestAVA) ... ok test_assignments (ipatests.test_ipapython.test_dn.TestDN) ... ok test_cmp (ipatests.test_ipapython.test_dn.TestDN) ... ok test_concat (ipatests.test_ipapython.test_dn.TestDN) ... ok test_create (ipatests.test_ipapython.test_dn.TestDN) ... ok test_eq_multi_rdn (ipatests.test_ipapython.test_dn.TestDN) ... ok <<<<<<<<<<<<<<<<<< test_find (ipatests.test_ipapython.test_dn.TestDN) ... ok test_hashing (ipatests.test_ipapython.test_dn.TestDN) ... ok test_indexing (ipatests.test_ipapython.test_dn.TestDN) ... ok test_iter (ipatests.test_ipapython.test_dn.TestDN) ... ok test_replace (ipatests.test_ipapython.test_dn.TestDN) ... ok test_str (ipatests.test_ipapython.test_dn.TestDN) ... ok test_x500_text (ipatests.test_ipapython.test_dn.TestDN) ... ok test_escape (ipatests.test_ipapython.test_dn.TestEscapes) ... ok test_i18n (ipatests.test_ipapython.test_dn.TestInternationalization) ... ok test_assignments (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_cmp (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_concat (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_create (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_hashing (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_indexing (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_iter (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_properties (ipatests.test_ipapython.test_dn.TestRDN) ... ok test_str (ipatests.test_ipapython.test_dn.TestRDN) ... ok ---------------------------------------------------------------------- Ran 29 tests in 0.016s OK Automation passed. Hence marking the bug as verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1083 |