Bug 977831

Summary: Missing equality index for ipaUniqueID
Product: Red Hat Enterprise Linux 7 Reporter: Dmitri Pal <dpal>
Component: ipaAssignee: Martin Kosek <mkosek>
Status: CLOSED CURRENTRELEASE QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: mkosek, xdong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: ipa-3.2.2-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:16:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dmitri Pal 2013-06-25 12:46:58 UTC
This bug is created as a clone of upstream ticket:

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

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 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.