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

(ITS#5980) libldap referral chasing now returns referral (10) and matchedDN

Full_Name: Pierangelo Masarati
Version: HEAD/re24
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: ando

Probably a side-effect of fixing ITS#5853: when setting LDAP_OPT_REFERRALS,
libldap automatically chases any referrals, but at the end returns a response
with ld_errno set to 10 and ld_matched set to the portion of DN that was matched
in the initial request.  This is because the corresponding fields in the parent
request are not cleared when the referral is successfully chased.  I'm trying to
fix this, but it's not clear to me when success should be detected: at
successful referral chasing request submission, I guess?