summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2008-12-02 17:22:08 -0500
committerSimo Sorce <ssorce@redhat.com>2008-12-02 19:28:46 -0500
commit69ad4a7ce7b9ebf51c93de18536473fb84046fcc (patch)
tree9df6110a28c223e196dd82ea9aff244e242051f9
parentba841cc2971fa04bcbfa0ee4a2530a67775905b8 (diff)
downloadfreeipa-69ad4a7ce7b9ebf51c93de18536473fb84046fcc.zip
freeipa-69ad4a7ce7b9ebf51c93de18536473fb84046fcc.tar.gz
freeipa-69ad4a7ce7b9ebf51c93de18536473fb84046fcc.tar.xz
Adding an index for memberuid. Alsthough we do not use this attribute, many clients still ask for it so let's index it and make stuff faster.
-rw-r--r--ipa-server/ipa-install/updates/Makefile.am1
-rw-r--r--ipa-server/ipa-install/updates/indices.update11
2 files changed, 12 insertions, 0 deletions
diff --git a/ipa-server/ipa-install/updates/Makefile.am b/ipa-server/ipa-install/updates/Makefile.am
index 8a559db..11d20dd 100644
--- a/ipa-server/ipa-install/updates/Makefile.am
+++ b/ipa-server/ipa-install/updates/Makefile.am
@@ -7,6 +7,7 @@ app_DATA = \
nss_ldap.update \
winsync_index.update \
replication.update \
+ indices.update \
$(NULL)
EXTRA_DIST = \
diff --git a/ipa-server/ipa-install/updates/indices.update b/ipa-server/ipa-install/updates/indices.update
new file mode 100644
index 0000000..cbff767
--- /dev/null
+++ b/ipa-server/ipa-install/updates/indices.update
@@ -0,0 +1,11 @@
+#
+# 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
+