Full_Name: Pierangelo Masarati Version: HEAD OS: irrelevant URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (81.72.89.40) Submitted by: ando In most cases, all response payload (matched, referrals) is ignored when calling ldap_parse_result(); only in searches matched and referrals are handled. p.
changed notes moved from Incoming to Software Bugs
changed notes
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. p.
partially addressed by fix to ITS#4594