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

2.2.15 proxycache problem QUERY NOT CACHEABLE




Hi,


I try to speed up Netscape Address book searches...

I set up proxycache overlay...

overlay proxycache
proxyCache bdb 1000000 1 1000 100
proxyAttrset 0 mail cn givenName sn dn uid ou o telephoneNumber
proxytemplate (|(mail=)(cn=)(givenName=)(sn=)) 0 3600

I think on a query this should cache the attributes mail cn givenName sn dn uid ou o telephoneNumber.

slapd started with -d 256 shows me

bdb_db_init: Initializing bdb database
Total # of attribute sets to be cached = 1
Attribute Set # 0
         mail
         cn
         givenName
         sn
         dn
         uid
         ou
         o
         telephoneNumber
Template:
  query template: (|(mail=)(cn=)(givenName=)(sn=))
  attributes:
        mail
        cn
        givenName
        sn
        dn
        uid
        ou
        o
        telephoneNumber
slapd starting


seems okay, now I make a Netscape addressbook search by entering 'ko'


slapd answers:



conn=0 fd=11 ACCEPT from IP=xxx.xxx.xxx.111:3998 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="c=de" scope=2 deref=0 filter="(|(mail=*ko*)(cn=*ko*)(givenName=*ko*)(sn=*ko*))"
conn=0 op=1 SRCH attr=modifytimestamp xmozillausehtmlmail description notes custom4 custom3 custom2 custom1 birthyear homeurl workurl nscpaimscreenname countryname company o departmentnumber department orgunit ou title countryname zip postalcode region st locality l streetaddress postofficebox carphone cellphone mobile pagerphone pager facsimiletelephonenumber fax homephone telephonenumber xmozillasecondemail mail xmozillanickname displayname commonname cn surname sn givenname
query template of incoming query = (|(mail=)(cn=)(givenName=)(sn=))
QUERY NOT ANSWERABLE
QUERY NOT CACHEABLE
request 1 done
request 2 done
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=64 text=



I think the query template matches exactly the incoming template!!! What's wrong with my configuration???






Best regards


Andre