diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2015-06-16 13:20:15 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-06-18 15:42:03 +0200 |
commit | 3bea4418089dc97136040cfc58157a77aea8b0aa (patch) | |
tree | 26e454db4f2a3094586d540ade42f2d7281d7c63 /install | |
parent | b5b8dd6cec4ddfd6cff91aba503963d2a4095bed (diff) | |
download | freeipa-3bea4418089dc97136040cfc58157a77aea8b0aa.tar.gz freeipa-3bea4418089dc97136040cfc58157a77aea8b0aa.tar.xz freeipa-3bea4418089dc97136040cfc58157a77aea8b0aa.zip |
add DS index for userCertificate attribute
'eq' and 'pres' indices for userCertificate attribute allow for more efficient
lookup and matching of binary certificates assigned to users, hosts, and
services.
Part of http://www.freeipa.org/page/V4/User_Certificates
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'install')
-rw-r--r-- | install/share/indices.ldif | 9 | ||||
-rw-r--r-- | install/updates/20-indices.update | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/install/share/indices.ldif b/install/share/indices.ldif index 70a587d7a..448875dea 100644 --- a/install/share/indices.ldif +++ b/install/share/indices.ldif @@ -247,3 +247,12 @@ nsSystemIndex: false nsIndexType: eq nsIndexType: pres nsIndexType: sub + +dn: cn=userCertificate,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +changetype: add +cn: userCertificate +ObjectClass: top +ObjectClass: nsIndex +nsSystemIndex: false +nsIndexType: eq +nsIndexType: pres diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update index ed855b295..d65905e18 100644 --- a/install/updates/20-indices.update +++ b/install/updates/20-indices.update @@ -209,3 +209,11 @@ default:nsSystemIndex: false only:nsIndexType: eq only:nsIndexType: pres only:nsIndexType: sub + +dn: cn=userCertificate,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +default:cn: userCertificate +default:ObjectClass: top +default:ObjectClass: nsIndex +only:nsSystemIndex: false +only:nsIndexType: eq +only:nsIndexType: pres |