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

Re: (ITS#4591) back-meta does not propagate response controls

ando@sys-net.it wrote:

> In most cases, all response payload (matched, referrals) is ignored when calling
> ldap_parse_result(); only in searches matched and referrals are handled.

For most operations this should now be fixed, since response passes thru 
   meta_back_op_result(), which takes care of controls.  However, in 
case of searches, handling this issue may be problematic, as different 
targets may return different, possibly overlapping or incompatible 
controls in response, so ignoring them might be safe.  A minimal, 
forgiving approach could be to record response controls, and, in case 
only one target returned any, use them; otherwise, either ignore them or 
complain somehow.