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

Referrals from non-search operations



It appears there's no way for a client to obtain referrals from a
synchronous non-search operation.

ie. Suppose you set the LDAP_OPT_REFERRALS flag off, do a
ldap_delete_ext_s(), and get a referral error back.  You can obtain the
matched dn and server error message with ldap_get_option, but not the
list of referrals.  (For asynch operations, you can get referrals with
ldap_parse_result.)

It seems an obvious way to do this would be to store the referrals in
the ld structure and provide an option for ldap_get_option as is done
with matched dn and error message.  Has anyone run into this need or am
I missing the boat somewhere?