Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2203173

Summary: RFE - Add Alias Entries Plugin
Product: Red Hat Directory Server Reporter: mreynolds
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: medium Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 12.1CC: bsmejkal, idm-ds-dev-bugs, musoni, pasik, spichugi
Target Milestone: DS12.3   
Target Release: dirsrv-12.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-ds-12-9030020230711000312-1674d57 Doc Type: Enhancement
Doc Text:
.The `Alias Entries` plug-in is now available in Directory Server When you enable the `Alias Entries` plug-in, a search for an entry returns the entry that you set as an aliased entry. For example, Barbara Jensen, an employee in the Example company, got married and her surname changed. Her old entry `uid=bjensen,ou=people,dc=example,dc=com` contains the alias to her new entry `uid=bsmith,ou=people,dc=example,dc=com`. When the plug-in is enabled, the search for the `uid=bjensen,ou=people,dc=example,dc=com` entry returns the `uid=bsmith,ou=people,dc=example,dc=com` entry information. Use the `ldapsearch -a find` command to retrieve entries with aliases. Currently, the `Alias Entries` plug-in supports only _base_ level searches.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-21 15:13:17 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 mreynolds 2023-05-11 12:23:06 UTC
Description of problem:

Add a plugin to support LDAP alias entries (alias objects):

    https://www.rfc-editor.org/rfc/rfc4512#section-2.6

Upstream ticket:

    https://github.com/389ds/389-ds-base/issues/152

Design Doc:

    https://www.port389.org/docs/389ds/design/alias-entries-design.html

Comment 3 bsmejkal 2023-09-13 13:06:15 UTC
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.9.17, pytest-7.4.2, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.9.17', 'Platform': 'Linux-5.14.0-362.2.1.el9_3.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '7.4.2', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '3.0.0', 'html': '4.0.1', 'libfaketime': '0.1.2', 'flaky': '3.7.0'}}
389-ds-base: 2.3.6-4.module+el9dsrv+19950+6ff0d0d4
nss: 3.90.0-3.el9_2
nspr: 4.35.0-3.el9_2
openldap: 2.6.3-1.el9
cyrus-sasl: 2.1.27-21.el9
FIPS: disabled
rootdir: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests
configfile: pytest.ini
plugins: metadata-3.0.0, html-4.0.1, libfaketime-0.1.2, flaky-3.7.0
collected 1 item                                                                                                                                                                                                                             

dirsrvtests/tests/suites/plugins/alias_entries_test.py::test_entry_alias PASSED                                                                                                                                                        [100%]

============================================================================================================= 1 passed in 28.04s =============================================================================================================

Marking as VERIFIED.

Comment 4 Evgenia Martynyuk 2023-11-20 16:58:26 UTC
RN text has passed all reviews

Comment 6 errata-xmlrpc 2023-11-21 15:13:17 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 (redhat-ds:12 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/RHEA-2023:7429