summaryrefslogtreecommitdiffstats
path: root/install/updates/20-indices.update
diff options
context:
space:
mode:
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
+