[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#9145) ldap tools try to attach configured controls to cancel/abandon operations
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#9145) ldap tools try to attach configured controls to cancel/abandon operations
- From: ondra@openldap.org
- Date: Fri, 03 Jan 2020 10:37:20 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Ondrej Kuznik
Version: re24/master
OS:
URL:
Submission from: (NULL) (146.90.154.72)
Take this command for example:
ldapsearch -E '!sync=rp' -E '!cancel'
Here, tool_check_abandon() calls ldap_cancel_s() with sctrls == NULL, but
ld->ld_sctrls contains the syncrepl control as a default so it gets used
instead, same for abandon. This means the option is broken.
tool_check_abandon() should pass an zero-length LDAPControl list instead. Patch
coming shortly.