"Internal unindexed search" and "Partially Unindexed Filter" errors in Directory Server for Schema Compat Plugin

Solution Verified - Updated -

Issue

  • In the Directory Server error logs, there are numerous errors indicating partial unindexed searches from the Schema Compat plugin, i.e:

    ==> /var/log/dirsrv/slapd-EXAMPLE-LOCAL/errors <==
    [09/Sep/2024:19:09:58.641705931 +0000] - ERR - log_result - Internal unindexed search: source (cn=Schema Compatibility,cn=plugins,cn=config) search base="cn=sudorules,cn=sudo,dc=example,dc=lab" filter="(&(&(objectclass=ipaSudoRule)(!(compatVisible=FALSE))(!(ipaEnabledFlag=FALSE)))(|(memberUser=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(memberHost=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(memberAllowCmd=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(memberDenyCmd=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(ipaSudoRunAsGroup=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(ipaSudoRunAs=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)))" etime=0.046817859 nentries=10  notes=U details="Partially Unindexed Filter"
    [09/Sep/2024:19:09:59.871761878 +0000] - ERR - log_result - Internal unindexed search: source (cn=Schema Compatibility,cn=plugins,cn=config) search base="cn=sudorules,cn=sudo,dc=example,dc=lab" filter="(&(&(objectclass=ipaSudoRule)(!(compatVisible=FALSE))(!(ipaEnabledFlag=FALSE)))(|(memberUser=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(memberHost=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(memberAllowCmd=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(memberDenyCmd=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(ipaSudoRunAsGroup=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)(ipaSudoRunAs=cn=member-x,cn=hostgroups,cn=accounts,dc=example,dc=lab)))" etime=0.047745098 nentries=10  notes=U details="Partially Unindexed Filter"
    

Environment

  • Red Hat Enterprise Linux 8 and 9
  • Red Hat Directory Server 11 and 12

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content