When we implement ticket #2259, indexing fqdn and macAddress should help
the Schema Compatibility and NIS Server plugins locate relevant computer
entries more easily.

Nalin
>From 44491a90ae258e3932a7a19d61313d28f8936978 Mon Sep 17 00:00:00 2001
From: Nalin Dahyabhai <na...@dahyabhai.net>
Date: Mon, 16 Apr 2012 15:26:50 -0400
Subject: [PATCH 1/3] - index the fqdn and macAddress attributes for the sake
 of the compat plugin

---
 install/updates/20-indices.update |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/install/updates/20-indices.update 
b/install/updates/20-indices.update
index b0e2f36..ecca027 100644
--- a/install/updates/20-indices.update
+++ b/install/updates/20-indices.update
@@ -32,3 +32,19 @@ default:ObjectClass: top
 default:ObjectClass: nsIndex
 default:nsSystemIndex: false
 default:nsIndexType: eq
+
+dn: cn=fqdn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: fqdn
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+default:nsSystemIndex: false
+default:nsIndexType: eq
+default:nsIndexType: pres
+
+dn: cn=macAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: macAddress
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+default:nsSystemIndex: false
+default:nsIndexType: eq
+default:nsIndexType: pres
-- 
1.7.10

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to