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

Re: Setting up slapo-pcache with back-config



Ralf Haferkamp wrote:
Thanks. Now however the proxy-cache doesn't get opened once I restart slapd.
This is because the ca->cleanup handler does only get called from
config_add_internal for CONFIG_ONLINE_ADDs (which isn't set during normal
startup). When I move the ca->cleanup() call out of the
"if ( CONFIG_ONLINE_ADD( ca ))" Block it works.

Is there a special reason for only calling in in case of CONFIG_ONLINE_ADD?

Hm, I guess that was wrong. The cleanup handler needs to be skipped when reading slapd.conf, but I guess it should be called for both offline and online Adds. (Offline = reading back-ldif at startup.)


--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/