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

Re: pcache configuration



On Mittwoch, 21. November 2007, Nathan Morrow wrote:
> Since they were listed as warnings I wouldn't have expected slapd to exit.
> Just not cache anything.  But I can understand how it would have no effect.
>
> But I guess I am still lost.  BTW, thanks for all the help so far.
>
> The errors say 1 or 1 attribute sets are not configured.  Specifically
> attribute set #0.  But after reading the configuration examples in the
> admin guide.  I don't see anything wrong.  Have the keywords changed?
> Below is the configuration that I tested.
>
> proxyCache         bdb 100000 1 1000 100
> cachesize       20
>        proxyAttrset  0 mail postaladdress telephonenumber
>        proxyTemplate (sn=) 0 3600
>        proxyTemplate (&(sn=)(givenName=)) 0 3600
>        proxyTemplate (&(departmentNumber=)(secretary=*)) 0 3600

Do you really have whitespaces in front of the proxyAttrset and proxyTemplate 
lines? As documented in the slapd.conf(5) manpage line beginning with 
whitespaces are considered a continuation of the previous line.
Remove the whitespace and try again.

> takes straight from the sample in the admin guide.
>
> Looks to me as though proxyAttrset #0 is defined.  ?
>
> Nathan

-- 
Ralf