[Date Prev][Date Next] [Chronological] [Thread] [Top]

Long searches on non-existent attributes



Searching for a non-existent attribute does not seem to return immediately
and even when the search is cancelled slapd grinds away consuming cpu. It
doesn't seem to generate any output (i.e. in dbm files) however.

Here is a completed, uninterrupted search:

$ ldapsearch -h localhost -b 'o=slb,c=an' '(yadda=*)' yadda

Apr 15 10:38:30 ldap slapd[22737]: conn=1131 op=0 BIND dn="" method=128
Apr 15 10:38:30 ldap slapd[22737]: conn=1131 op=0 RESULT err=0 tag=97
entries=0
Apr 15 10:38:30 ldap slapd[22737]: conn=1131 op=1 SRCH base="o=slb,c=an"
scope=2 filter="(yadda=*)"
Apr 15 10:41:06 ldap slapd[22737]: conn=1131 op=1 RESULT err=0 tag=101
nentries=0

Note the two and a half minute search.

This is OpenLDAP v1.1 running with schemacheck off (is this the cause?).
I've noticed this phenomenon using v1.2 as well, sporting a near identical
configuration.

Paul