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

Bug 1815130

Summary: Corrupted index created when using UI
Product: Red Hat Directory Server Reporter: mreynolds
Component: cockpit-389-dsAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 11.0CC: lkrispen, spichugi, tbordaz, vashirov
Target Milestone: ---   
Target Release: dirsrv-11.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.4.2.11-1.module+el8dsrv+6254+69a018e7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-29 08:04:40 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 2020-03-19 14:49:12 UTC
Description of problem:

Whatever attribute you choose to add as an index, the UI sets the name to "undefined"

dsconf -j ldapi://%2fvar%2frun%2fslapd-localhost.socket backend index add --attr=undefined o=test --index-type=eq

Comment 1 mreynolds 2020-03-20 02:06:37 UTC
Upstream ticket

https://pagure.io/389-ds-base/issue/50966

Comment 4 Viktor Ashirov 2020-04-20 12:53:09 UTC
Build tested: cockpit-389-ds-1.4.2.12-1.module+el8dsrv+6328+f04d7471.noarch

While creating an index, I see in the console:
CMD: saveIndex: Create new index ==> dsconf -j ldapi://%2fvar%2frun%2fslapd-test.socket backend index add --attr=initials dc=example,dc=com --index-type=eq --index-type=pres --index-type=sub --reindex

Name is correct, marking as VERIFIED.

Comment 6 errata-xmlrpc 2020-04-29 08:04:40 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-2020:1961