|
|
3f51ca |
From 8a1e04abede4c0bd5730781ef8c42c8a2e1bbcf9 Mon Sep 17 00:00:00 2001
|
|
|
3f51ca |
From: Stanislav Laznicka <slaznick@redhat.com>
|
|
|
3f51ca |
Date: Fri, 3 Nov 2017 09:23:10 +0100
|
|
|
3f51ca |
Subject: [PATCH] Add the sub operation for fqdn index config
|
|
|
3f51ca |
|
|
|
3f51ca |
This should improve performance of the host-find command.
|
|
|
3f51ca |
|
|
|
3f51ca |
https://pagure.io/freeipa/issue/6371
|
|
|
3f51ca |
|
|
|
3f51ca |
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
|
|
|
3f51ca |
---
|
|
|
3f51ca |
install/share/indices.ldif | 1 +
|
|
|
3f51ca |
install/updates/20-indices.update | 5 +++--
|
|
|
3f51ca |
2 files changed, 4 insertions(+), 2 deletions(-)
|
|
|
3f51ca |
|
|
|
3f51ca |
diff --git a/install/share/indices.ldif b/install/share/indices.ldif
|
|
|
3f51ca |
index d853266025ae350dd7de83e11e463c6bb1ab9429..adb041d374d8fc48fff9d4b40208e7eda82857b3 100644
|
|
|
3f51ca |
--- a/install/share/indices.ldif
|
|
|
3f51ca |
+++ b/install/share/indices.ldif
|
|
|
3f51ca |
@@ -108,6 +108,7 @@ cn: fqdn
|
|
|
3f51ca |
nsSystemIndex: false
|
|
|
3f51ca |
nsIndexType: eq
|
|
|
3f51ca |
nsIndexType: pres
|
|
|
3f51ca |
+nsIndexType: sub
|
|
|
3f51ca |
|
|
|
3f51ca |
dn: cn=macAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
|
3f51ca |
changetype: add
|
|
|
3f51ca |
diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update
|
|
|
3f51ca |
index 74961d77875515d680f34af739c984a6533eb252..fb588b9ba8a2a89c9e7eab87ab5f224ca438645a 100644
|
|
|
3f51ca |
--- a/install/updates/20-indices.update
|
|
|
3f51ca |
+++ b/install/updates/20-indices.update
|
|
|
3f51ca |
@@ -70,8 +70,9 @@ default:cn: fqdn
|
|
|
3f51ca |
default:ObjectClass: top
|
|
|
3f51ca |
default:ObjectClass: nsIndex
|
|
|
3f51ca |
default:nsSystemIndex: false
|
|
|
3f51ca |
-default:nsIndexType: eq
|
|
|
3f51ca |
-default:nsIndexType: pres
|
|
|
3f51ca |
+only:nsIndexType: eq
|
|
|
3f51ca |
+only:nsIndexType: pres
|
|
|
3f51ca |
+only:nsIndexType: sub
|
|
|
3f51ca |
|
|
|
3f51ca |
dn: cn=macAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
|
3f51ca |
default:cn: macAddress
|
|
|
3f51ca |
--
|
|
|
3f51ca |
2.14.3
|
|
|
3f51ca |
|