summaryrefslogtreecommitdiffstats
path: root/install/updates
diff options
context:
space:
mode:
authorJr Aquino <jr.aquino@citrix.com>2011-03-30 13:12:31 -0700
committerRob Crittenden <rcritten@redhat.com>2011-04-08 11:00:24 -0400
commit25d301ef71dabc9ef4b3b6c31493f97f16298d36 (patch)
tree74d35f47b4340f037a94d995e39a8a54847eea09 /install/updates
parentc2350e756a8dbc5b31a16ae2cd8c103a6e633515 (diff)
downloadfreeipa-25d301ef71dabc9ef4b3b6c31493f97f16298d36.tar.gz
freeipa-25d301ef71dabc9ef4b3b6c31493f97f16298d36.tar.xz
freeipa-25d301ef71dabc9ef4b3b6c31493f97f16298d36.zip
Add memberHost and memberUser to default indexes
https://fedorahosted.org/freeipa/ticket/1138
Diffstat (limited to 'install/updates')
-rw-r--r--install/updates/20-indices.update16
1 files changed, 16 insertions, 0 deletions
diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update
index 3d0e42af6..b0e2f36b8 100644
--- a/install/updates/20-indices.update
+++ b/install/updates/20-indices.update
@@ -2,6 +2,9 @@
# Some nss_ldap implementations will always ask for memberuid so we must
# have an index for it.
#
+# FreeIPA frequently searches for memberHost and memberUser to determine
+# group membership.
+#
dn: cn=memberuid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
default:cn: memberuid
default:ObjectClass: top
@@ -16,3 +19,16 @@ default:ObjectClass: nsIndex
default:nsSystemIndex: false
default:nsIndexType: eq
+dn: cn=memberHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: memberHost
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+default:nsSystemIndex: false
+default:nsIndexType: eq
+
+dn: cn=memberUser,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: memberUser
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+default:nsSystemIndex: false
+default:nsIndexType: eq