Bug 2168723

Summary: lib389 password policy DN handling is incorrect
Product: Red Hat Directory Server Reporter: Simon Pichugin <spichugi>
Component: 389-ds-baseAssignee: Simon Pichugin <spichugi>
Status: CLOSED ERRATA QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: high Docs Contact: Zuzana Zoubkova <zzoubkov>
Priority: unspecified    
Version: 12.1CC: bsmejkal, emartyny, idm-ds-dev-bugs, mreynolds, pasik, vashirov
Target Milestone: DS12.1Keywords: Triaged
Target Release: dirsrv-12.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: redhat-ds-12-9010020230314160305-1674d574 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-06 13:05:45 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:

Comment 3 Viktor Ashirov 2023-04-24 13:46:55 UTC
Automated test fails with an older version 2.0.14-7.module+el9dsrv+14845+69b2f526 and passes with the new one:
============================================================= test session starts =============================================================
platform linux -- Python 3.9.16, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
389-ds-base: 2.1.8-1.module+el9dsrv+18377+a10e6f72
nss: 3.79.0-18.el9_1
nspr: 4.34.0-18.el9_1
openldap: 2.6.2-3.el9
cyrus-sasl: not installed
FIPS: disabled
rootdir: /root/ds/dirsrvtests, configfile: pytest.ini
collected 1 item

dirsrvtests/tests/suites/password/password_policy_test.py::test_get_pwpolicy_cn_with_quotes PASSED                                      [100%]

======================================================= 1 passed, 2 warnings in 26.00s ========================================================

Marking as VERIFIED.

Comment 5 errata-xmlrpc 2023-06-06 13:05:45 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 (Moderate: redhat-ds:12 security, bug fix, and enhancement update), 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/RHSA-2023:3489