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

Re: (ITS#7636) slapd crash when multi-master replication (syncrepl) enabled

kb9vqf@pearsoncomputing.net wrote:
> Unfortunately the previous patch only fixes some of the most obvious
> (immediate) crashes.  There are other places in the code (e.g. syncprov.c
> line 647) which pass non-malloc()ed variables to be_search() and thereby
> crash slapd.
> Has syncrepl even been tested with plugins before?  We really wanted to
> use OpenLDAP for our directory server, however if replication cannot be
> used with plugins then we may need to go with a Microsoft solution
> instead.
> Any hints?

Seems like the problem should be fixed in the slapi support code. And in 
general, the slapi code receives very little attention since slapd overlays 
are the native plugin mechanism. Patching syncprov.c is definitely the wrong 
way to go though.

What are the plugins you're trying to use? Are you sure there isn't already a 
slapd overlay that provides the feature?

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