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

Re: (ITS#5931) back-meta crashes with syncrepl data

ando@sys-net.it wrote:
> Slapd in HEAD no longer crashes when receiving intermediate response. 
> It rather complains about an unsupported response message.  I'm now 
> working at correctly handling it.

This won't probably be as easy as I expected: back-meta does not check, 
parse or return entry controls.  This needs to be fixed as well.

I notice that back-ldap and back-meta use ldap_first_entry() to parse 
the entry.  Syncrepl client-side code uses a ldap_get_entry_controls() 
and explicit entry parsing.

Probably we need to abstract what syncrepl does in a new libldap call 
that parses an entry and its controls, and use it as appropriate.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it