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.

This commit is contained in:
Simo Sorce 2008-12-02 17:22:08 -05:00
parent 0e6928dd1b
commit d006587937
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@ app_DATA = \
nss_ldap.update \
winsync_index.update \
replication.update \
indices.update \
$(NULL)
EXTRA_DIST = \

View File

@ -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