Bug 1498958

Summary: unable to retrieve specific cosAttribute when subtree password policy is configured. [rhel-7.4.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: high Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: high    
Version: 7.1CC: gparente, hmiura, mreynolds, nkinder, rmeggins, tkubota, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.6.1-21.el7_4 Doc Type: Bug Fix
Doc Text:
Previously, when using an indirect Class of Service (CoS) together with a local password policy, Directory Server set a flag after reading the password policy CoS. However, this flag was not reset before reading the indirect CoS definitions. As a consequence, Directory Server treated the indirect CoS attributes as operational attributes, and the indirect CoS did not correctly merge virtual attributes. With this update, Directory Server resets the flag, and all CoS definitions work as expected.
Story Points: ---
Clone Of: 1453155 Environment:
Last Closed: 2017-10-19 15:11:57 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:
Bug Depends On: 1453155    
Bug Blocks:    

Description Oneata Mircea Teodor 2017-10-05 15:57:16 UTC
This bug has been copied from bug #1453155 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 3 Viktor Ashirov 2017-10-06 13:15:04 UTC
============================ test session starts =============================
platform linux2 -- Python 2.7.5, pytest-3.2.3, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python
cachedir: .cache
metadata: {'Python': '2.7.5', 'Platform': 'Linux-3.10.0-693.el7.x86_64-x86_64-with-redhat-7.4-Maipo', 'Packages': {'py': '1.4.34', 'pytest': '3.2.3', 'pluggy': '0.4.0'}, 'Plugins': {'html': '1.16.0', 'metadata': '1.5.0'}}
DS build: 1.3.6.1
389-ds-base: 1.3.6.1-21.el7_4
nss: 3.28.4-8.el7
nspr: 4.13.1-1.0.el7_3
openldap: 2.4.44-5.el7
svrcore: 4.1.3-2.el7

rootdir: /export/tests, inifile:
plugins: metadata-1.5.0, html-1.16.0
collected 1 item                                                              

suites/cos/indirect_cos_test.py::test_indirect_cos PASSED

------- generated xml file: /mnt/tests/rhds/tests/upstream/report.xml --------
------ generated html file: /mnt/tests/rhds/tests/upstream/report.html -------
========================== 1 passed in 7.06 seconds ==========================

Marking as VERIFIED.

Comment 9 errata-xmlrpc 2017-10-19 15:11:57 UTC
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-2017:2932