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:


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@TESTRELM.COM
Password for admin@TESTRELM.COM: 
Authenticated to Kerberos v5
Default principal: admin@TESTRELM.COM
:: [ 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@TESTRELM.COM
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.