Bug 1652984
| Summary: | Subtree password policy overrides a user-defined password policy. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Têko Mihinto <tmihinto> |
| Component: | 389-ds-base | Assignee: | thierry bordaz <tbordaz> |
| Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> |
| Severity: | medium | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
| Priority: | high | ||
| Version: | 7.5 | CC: | aadhikar, bugzilla-redhat, cpelland, gbabiano, lkrispen, mreynolds, nkinder, pasik, rbeyel, rmeggins, spichugi, tbordaz, vashirov |
| Target Milestone: | rc | ||
| Target Release: | 7.7 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.9.1-5.el7 | Doc Type: | Bug Fix |
| Doc Text: |
.Directory Server no longer uses the CoS attribute with a higher priority than the real attribute
Previously, Directory Server used the `operational-default` Class of Service (CoS) attribute with a higher priority than the real attribute. As a consequence, the server overwrote the attribute set in a local password with the CoS policy defined in a subtree. This update fixes the problem. As a result, CoS-defined password policies work as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-06 12:59:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Têko Mihinto
2018-11-23 20:22:50 UTC
Regarding "operational-default" definition. This bug is a regression introduced during https://fedorahosted.org/389/ticket/142 ([RFE] Default password syntax settings don't work with fine-grained policies). Reading the fix #142, it looks the change that introduced the regression was not related to the RFE and may be a kind of typo. The bug is that that cos definition applied although it exists a attribute value in the entry. In such case "operational-default" definition should not apply. Next is to check if the same pb applies for 'default' definition ns-newpwpolicy.pl creates a cos template with 'operational-default'. The processing of 'operational-default' is broken since #142 so since 1.3.5. The behavior with 'default' keyword is conform to the documentation: it returns the virtual attribute value at the condition the real attribute does not exist Working on a fix Upstream ticket: https://pagure.io/389-ds-base/issue/50053 Upstream ticket pushed -> POST Build tested: 389-ds-base-1.3.9.1-4.el7.x86_64 Changes are not backported, also the test: dirsrvtests/tests/suites/plugins/cos_test.py is failing. Marking as FailedQA. ============================================================================ test session starts ============================================================================ platform linux -- Python 3.6.3, pytest-4.4.0, py-1.8.0, pluggy-0.9.0 389-ds-base: 1.3.9.1-5.el7 nss: 3.43.0-6.el7 nspr: 4.21.0-1.el7 openldap: 2.4.44-21.el7_6 cyrus-sasl: 2.1.26-23.el7 FIPS: disabled rootdir: /root/389-ds-base/dirsrvtests plugins: metadata-1.8.0, html-1.20.0 collected 2 items tests/tickets/ticket50232_test.py .. [100%] ================================================================== 1 passed 22.71 seconds =================================================================== Marking this as VERIFIED. (In reply to Akshay Adhikari from comment #14) > ============================================================================ > test session starts > ============================================================================ > platform linux -- Python 3.6.3, pytest-4.4.0, py-1.8.0, pluggy-0.9.0 > 389-ds-base: 1.3.9.1-5.el7 > nss: 3.43.0-6.el7 > nspr: 4.21.0-1.el7 > openldap: 2.4.44-21.el7_6 > cyrus-sasl: 2.1.26-23.el7 > FIPS: disabled > rootdir: /root/389-ds-base/dirsrvtests > plugins: metadata-1.8.0, html-1.20.0 > collected 2 items > > > tests/tickets/ticket50232_test.py .. > [100%] > > ================================================================== 1 passed > 22.71 seconds > =================================================================== > > Marking this as VERIFIED. This is a wrong automation correct verification would be: ============================================================================ test session starts ============================================================================ platform linux -- Python 3.6.3, pytest-4.4.0, py-1.8.0, pluggy-0.9.0 389-ds-base: 1.3.9.1-5.el7 nss: 3.43.0-6.el7 nspr: 4.21.0-1.el7 openldap: 2.4.44-21.el7_6 cyrus-sasl: 2.1.26-23.el7 FIPS: disabled rootdir: /root/389-ds-base/dirsrvtests plugins: metadata-1.8.0, html-1.20.0 collected 1 item tests/suites/plugins/cos_test.py . [100%] ================================================================== 1 passed in 22.71 seconds =================================================================== Hi Pasi, I am unsure of your last update. This bug was successfully verified. Did you discover a failure, then please give some details. If you need to update a BZ with QA keywords please double check with Dev-QA people. thanks 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-2019:2152 |