RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 977831 - Missing equality index for ipaUniqueID
Summary: Missing equality index for ipaUniqueID
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-25 12:46 UTC by Dmitri Pal
Modified: 2015-01-21 20:02 UTC (History)
2 users (show)

Fixed In Version: ipa-3.2.2-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:16:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dmitri Pal 2013-06-25 12:46:58 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/3743

IPA uses the attribute uniqueness plugin to look for unique values of ipaUniqueID when adding entries.

Because ipaUniqueID is not indexed, the server has to look through every single entry in the db.  ipaUniqueID needs to be indexed for equality to avoid this expensive lookup.

Comment 1 Martin Kosek 2013-07-16 15:50:08 UTC
Fixed upstream:

master: a209bb38aad66a079d62541e3b364d714cc3ed29
ipa-3-2: 6359b36290709f4bcbed22e913afb01c444727cf

Comment 3 Xiyang Dong 2013-08-19 14:25:41 UTC
Verified.

Version : ipa-server-3.2.2-1.el7.x86_64


Automated Test Results :

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-user-cli-mod-bugzilla-001:bz977831 Missing equality index for ipaUniqueID
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

spawn /usr/bin/kinit -V admin
Using new cache: :/run/user/0/krb5cc/tktvdgrLO
Using principal: admin
Password for admin: 
Authenticated to Kerberos v5
Default principal: admin
:: [ 10:18:38 ] ::  kinit as admin with password Secret123 was successful.
:: [ 10:18:38 ] ::  Checking :ldapsearch -Y GSSAPI -b "cn=ldbm database,cn=plugins,cn=config" | grep ipauniqueid | grep index
SASL/GSSAPI authentication started
SASL username: admin
SASL SSF: 56
SASL data security layer installed.
# ipauniqueid, index, userRoot, ldbm database, plugins, config
dn: cn=ipauniqueid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
:: [   PASS   ] :: make sure ipaUniqueID is indexed

Comment 4 Ludek Smid 2014-06-13 12:16:42 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.