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

Re: (ITS#4789) can't add BDB database when monitoring

hyc@OpenLDAP.org wrote:

> I presume there's some kind of callback for registering new suffixes but I
> haven't looked very hard.

This highlights some other issues lurking in here - back-monitor 
basically doesn't deal with dynamic configuration well at all. It 
assumes that all databases and overlays have been fully configured by 
the time it starts - an assumption that was valid for old-style 
slapd.conf use, but not with back-config.

The monitor_subsys_database_init_one() function probably needs to be 
split into separate pieces so that database and overlay info can be set 
up and removed incrementally.

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