[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
proxycache not sending answerable queries (test020) (ITS#3144)
Full_Name: Dieter Kluenter
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.191.65.129)
I have created a proxyAttrset mail telephonenumber and a proxytemplates (cn=)
and (sn=)
when searching for a sample user 'cn=foo bar' with a string 'cn=*bar'
telephonenumber mail, the search is only answered on the first query but not on
any subsequent queries,
Only a substring like 'cn=*ar' is correctly being answered, same applies to
attribute sn=bar sn=*ar.
I now found out that the same behaviour applies to test020-proxycache.The
searches no. 8 and 9 are not answered, as can be seen from the log
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
filter: (sn=smith)
ber_scanf fmt ({M}}) ber:
attrs: cn sn title uid
conn=9 op=1 SRCH base="dc=example,dc=com" scope=2 deref=0 filter="(sn=smith)"
conn=9 op=1 SRCH attr=cn sn title uid
==> limits_get: conn=9 op=1 dn="[anonymous]"
query template of incoming query = (sn=)
Lock QC index = 1
Base of added query = dc=example,dc=com
QUERY ANSWERABLE
=> bdb_search
bdb_dn2entry("dc=example,dc=com")
search_candidates: base="dc=example,dc=com" (0x00000002) scope=2
=> bdb_dn2idl( "dc=example,dc=com" )
=> bdb_equality_candidates (objectClass)
=> key_read
bdb_idl_fetch_key: [b49d1940]
<= bdb_index_read: failed (-30990)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_equality_candidates (sn)
=> key_read
bdb_idl_fetch_key: [696dc744]
<= bdb_index_read: failed (-30990)
<= bdb_equality_candidates: id=0, first=0, last=0
bdb_search_candidates: id=0 first=1 last=0
bdb_search: no candidates
send_ldap_result: conn=9 op=1 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 24
conn=9 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
-Dieter