summaryrefslogtreecommitdiffstats
path: root/install/updates/20-indices.update
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-03-23 15:20:43 -0400
committerRob Crittenden <rcritten@redhat.com>2009-03-25 11:03:07 -0400
commitc00281a9f9c3f79fb88ff8537d941394fee09ca2 (patch)
tree019c8f72200e78b58699afe327f8f212898d659a /install/updates/20-indices.update
parentd6814f3aae1e3af371eaf9d10ae37bfee464015a (diff)
downloadfreeipa-c00281a9f9c3f79fb88ff8537d941394fee09ca2.tar.gz
freeipa-c00281a9f9c3f79fb88ff8537d941394fee09ca2.tar.xz
freeipa-c00281a9f9c3f79fb88ff8537d941394fee09ca2.zip
Name update files so they can be easily sorted.
We want to process some updates in a particular order (schema, structural). Using an init-inspired ordering mechanism.
Diffstat (limited to 'install/updates/20-indices.update')
-rw-r--r--install/updates/20-indices.update18
1 files changed, 18 insertions, 0 deletions
diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update
new file mode 100644
index 000000000..3d0e42af6
--- /dev/null
+++ b/install/updates/20-indices.update
@@ -0,0 +1,18 @@
+#
+# Some nss_ldap implementations will always ask for memberuid so we must
+# have an index for it.
+#
+dn: cn=memberuid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: memberuid
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+default:nsSystemIndex: false
+default:nsIndexType: eq,pres
+
+dn: cn=memberof,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: memberof
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+default:nsSystemIndex: false
+default:nsIndexType: eq
+