mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 08:00:02 -06:00
5458bb506f
host-find <host_name> command performance gets deteriorated when there's way too many hosts in the LDAP tree. We're adding indices to try and mitigate this behavior. https://pagure.io/freeipa/issue/6371 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
311 lines
8.9 KiB
Plaintext
311 lines
8.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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=owner,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=manager,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=secretary,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=seealso,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: sub
|
|
|
|
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=fqdn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: fqdn
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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=sourcehost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: sourcehost
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
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
|
|
|
|
dn: cn=ipauniqueid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipauniqueid
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
default:nsIndexType: eq
|
|
|
|
dn: cn=ipatokenradiusconfiglink,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipatokenradiusconfiglink
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=ipaassignedidview,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipaassignedidview
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=ipaallowedtarget,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipaallowedtarget
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=ipaMemberCa,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipaMemberCa
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=ipaMemberCertProfile,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipaMemberCertProfile
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=userCertificate,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: userCertificate
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
only:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
|
|
dn: cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ntUniqueId
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
|
|
dn: cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ntUserDomainId
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
|
|
dn: cn=ipalocation,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: ipalocation
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: pres
|
|
|
|
dn: cn=krbPrincipalName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default:cn: krbPrincipalName
|
|
default:ObjectClass: top
|
|
default:ObjectClass: nsIndex
|
|
default:nsSystemIndex: false
|
|
only: nsMatchingRule: caseIgnoreIA5Match
|
|
only: nsMatchingRule: caseExactIA5Match
|
|
only:nsIndexType: eq
|
|
only:nsIndexType: sub
|
|
|
|
dn: cn=krbCanonicalName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default: cn: krbCanonicalName
|
|
default: objectClass: top
|
|
default: objectClass: nsIndex
|
|
only: nsSystemIndex: false
|
|
only: nsIndexType: eq
|
|
only: nsIndexType: sub
|
|
|
|
dn: cn=serverhostname,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
|
|
default: cn: serverhostname
|
|
default: objectClass: top
|
|
default: objectClass: nsIndex
|
|
only: nsSystemIndex: false
|
|
only: nsIndexType: eq
|
|
only: nsIndexType: sub
|
|
|
|
dn: cn=description,cn=index,cn=userroot,cn=ldbm database,cn=plugins,cn=config
|
|
default: cn: description
|
|
default: objectclass: top
|
|
default: objectclass: nsindex
|
|
default: nssystemindex: false
|
|
default: nsindextype: eq
|
|
default: nsindextype: sub
|
|
|
|
dn: cn=l,cn=index,cn=userroot,cn=ldbm database,cn=plugins,cn=config
|
|
default: cn: l
|
|
default: objectclass: top
|
|
default: objectclass: nsindex
|
|
default: nssystemindex: false
|
|
default: nsindextype: eq
|
|
default: nsindextype: sub
|
|
|
|
dn: cn=nsOsVersion,cn=index,cn=userroot,cn=ldbm database,cn=plugins,cn=config
|
|
default: cn: nsOsVersion
|
|
default: objectclass: top
|
|
default: objectclass: nsindex
|
|
default: nssystemindex: false
|
|
default: nsindextype: eq
|
|
default: nsindextype: sub
|
|
|
|
dn: cn=nsHardwarePlatform,cn=index,cn=userroot,cn=ldbm database,cn=plugins,cn=config
|
|
default: cn: nsHardwarePlatform
|
|
default: objectclass: top
|
|
default: objectclass: nsindex
|
|
default: nssystemindex: false
|
|
default: nsindextype: eq
|
|
default: nsindextype: sub
|
|
|
|
dn: cn=nsHostLocation,cn=index,cn=userroot,cn=ldbm database,cn=plugins,cn=config
|
|
default: cn: nsHostLocation
|
|
default: objectclass: top
|
|
default: objectclass: nsindex
|
|
default: nssystemindex: false
|
|
default: nsindextype: eq
|
|
default: nsindextype: sub
|