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

RE: Proxy problem



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of mantra

> I've been trying to add a cache to the ldap backend, but I
> can't figure out
> why it doesn't work.

If this is the exact content of your slapd.conf file, then your problem is
that "attrset" is invalid. The keyword is called "proxyattrset"...

> --- slapd.conf ---
> database ldap
> suffix ¨dc=localernest,dc=com¨
> uri ¨ldap://ernest.com/dc=localernest,dc=com¨;
>
> overlay proxycache
> proxycache bdb 1000 1 500 1000
> attrset 0 sn cn title
> proxytemplate (sn=) 0 1000
> cachesize 100
> directory /var/ercache
> index objectclass pres,eq
> index cn,sn,uid,title pres,eq,sub


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