Bug 2015998

Summary: Log the Auto Member invalid regex rules in the LDAP errors log.
Product: Red Hat Enterprise Linux 8 Reporter: mreynolds
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.5CC: ds-qe-bugs, gkimetto, ldap-maint, mreynolds, rcritten, sgouvern, tbordaz, tmihinto, tscherf
Target Milestone: rcKeywords: TestCaseProvided, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: 389-ds-1.4-8060020211118202403.ce3e8c9c Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2015996 Environment:
Last Closed: 2022-05-10 13:43:24 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:
Bug Depends On: 2014768, 2015996    
Bug Blocks:    

Comment 1 thierry bordaz 2021-11-03 14:49:22 UTC
Fix pushed upstream -> POST

Comment 6 sgouvern 2021-12-15 14:03:03 UTC

# PYTHONPATH=src/lib389/ py.test -v dirsrvtests/tests/suites/automember_plugin/configuration_test.py::test_invalid_regex
re-exec with libfaketime dependencies
===================================================== test session starts ======================================================
platform linux -- Python 3.6.8, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3.6
cachedir: .pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-353.el8.x86_64-x86_64-with-redhat-8.6-Ootpa', 'Packages': {'pytest': '6.2.5', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata': '1.11.0', 'html': '3.1.1', 'libfaketime': '0.1.2', 'flaky': '3.7.0'}}
389-ds-base: 1.4.3.28-2.module+el8.6.0+13331+9eba6551
nss: 3.67.0-7.el8_5
nspr: 4.32.0-1.el8_4
openldap: 2.4.46-18.el8
cyrus-sasl: 2.1.27-5.el8
FIPS: disabled
rootdir: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests, configfile: pytest.ini
plugins: metadata-1.11.0, html-3.1.1, libfaketime-0.1.2, flaky-3.7.0
collected 1 item                                                                                                               

dirsrvtests/tests/suites/automember_plugin/configuration_test.py::test_invalid_regex PASSED                                        [100%]
===================================================== 1 passed, 1 warning in 12.05s ======================================================

marking verified:tested / VERIFIED

Comment 8 errata-xmlrpc 2022-05-10 13:43:24 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 (389-ds:1.4 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/RHBA-2022:1815