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

Re: (ITS#3447) HEAD proxycache is not sending answerable queries



I am unable to reproduce this problem. Have you tried rerunning this 
test after deleting all database files from the proxycache database?

Dieter Kluenter wrote:

>########## slapd.conf ##################
>
>##############################################
># Global settings
>#############################################
>include         /home/dieter/openldap/etc/openldap/schema/core.schema
>include         /home/dieter/openldap/etc/openldap/schema/cosine.schema
>include         /home/dieter/openldap/etc/openldap/schema/nis.schema
>include         /home/dieter/openldap/etc/openldap/schema/inetorgperson.schema
>include         /home/dieter/openldap/etc/openldap/schema/combiCalendar.schema
>include         /home/dieter/openldap/etc/openldap/schema/dnszone.schema
>pidfile         /home/dieter/openldap/var/run/slapd.pid
>argsfile        /home/dieter/openldap/var/run/slapd.args
>loglevel 0   
>modulepath      /home/dieter/openldap/libexec/openldap
>moduleload      back_monitor.la
>moduleload      pcache.la
>moduleload      rwm.la
>moduleload      denyop.la
>moduleload      back_ldap.la
>access to dn.base="" by * read
>access to dn.base="cn=Subschema" by * read
>#######################################################################
># 1st. database definitions
>#######################################################################
>database        bdb
>suffix          "o=avci,c=de"
>rootdn          "cn=admin,o=avci,c=de"
>rootpw {SSHA}xxxxxxx
>directory       /home/dieter/openldap/var/openldap-data
>syncrepl rid=54
>        provider=ldap://marin.l4b.de:389
>        type=refreshOnly
>        interval=00:01:00:00
>        searchbase="ou=adressbuch,o=avci,c=de"
>        scope=one
>        bindmethod=sasl
>        saslmech=DIGEST-MD5
>        authcid=benchmark
>        credentials=xxxx
>        updatedn=cn=admanager,o=avci,c=de
>index   objectClass,entryUUID eq
>index   mail,telephonenumber pres,eq
>index   sn,cn eq,sub
>sasl-regexp uidNumber=(.*)\\+gidNumber=(.*),cn=peercred,cn=external,cn=auth
>        ldap:///o=avci,c=de??sub?(&(uidNumber=$1)(gidNumber=$2))
>access to dn.regex="^ou=adressbuch,o=avci,c=de$" attrs=entry,children
>        by dn.exact=cn=admanager,o=avci,c=de write
>        by users read
>access to dn.regex="^[^,]+,ou=adressbuch,o=avci,c=de$" attrs=entry,@evolutionPer
>son
>access to dn.subtree=o=avci,c=de
>        by users read
>        by anonymous search
>#########################################
># Monitor Backend
>########################################
>database        monitor
>access to dn.subtree=cn=monitor by * read
>#######################################
># ldap backend
>#######################################
>database        ldap
>lastmod off
>overlay rwm
>suffix "dc=ORANGE,dc=DE"
>rwm-suffixmassage "dc=ORANGE,dc=DE" "o=avci,c=de"
>rootdn "cn=admin,dc=orange,dc=de"
>rootpw xxxxx
>binddn "cn=admanager,o=avci,c=de"
>bindpw xxxx
>uri ldap://marin.l4b.de:389
>overlay proxycache
>proxycache hdb 50000 2 500 3600
>proxyAttrset 0 cn sn   
>proxyAttrset 1  mail telephoneNumber
>proxytemplate (&(objectclass=)(sn=)) 1 3600
>proxytemplate (&(objectclass=)(cn=)) 1 3600
>directory       /home/dieter/openldap/var/db
>access to dn.subtree=dc=ORANGE,dc=DE by * read
>cachesize 500
>index objectclass eq
>index telephoneNumber,cn,sn,mail pres,eq,sub
>######### End slapd.conf #################
>
>
>-Dieter
>
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support