mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 08:00:02 -06:00
0e432d33fc
An unindexed search for ipakrbprincipalalias is fired for every ipa command (and other authentication events) which would degrade IPA server performance if not indexed. ipaautomountkey unindexed searches are hit when new key entries are being added. Add both indexes to new and updated IPA installs. https://fedorahosted.org/freeipa/ticket/3020 https://fedorahosted.org/freeipa/ticket/3025
133 lines
3.9 KiB
Plaintext
133 lines
3.9 KiB
Plaintext
#
|
|
# 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
|
|
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
|
|
|
|
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=memberHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
add:nsIndexType: pres
|
|
|
|
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
|
|
|
|
dn: cn=memberUser,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only: nsIndexType: eq,pres
|
|
|
|
dn: cn=fqdn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: fqdn
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=macAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: macAddress
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=manager,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only: nsIndexType: eq,pres
|
|
|
|
dn: cn=secretary,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only: nsIndexType: eq,pres
|
|
|
|
dn: cn=sourcehost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: sourcehost
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=memberservice,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: memberservice
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=managedby,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: managedby
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=memberallowcmd,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: memberallowcmd
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=memberdenycmd,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: memberdenycmd
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=ipasudorunas,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipasudorunas
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=ipasudorunasgroup,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipasudorunasgroup
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
default:nsIndexType: pres
|
|
|
|
dn: cn=automountkey,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: automountkey
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
|
|
dn: cn=ipakrbprincipalalias,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipakrbprincipalalias
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|