On Thu, Jan 08, 2026 at 10:28:11AM +0530, venugopal chinnakotla wrote:
> OpenLDAP C SDK API ldap_search_ext_s is giving -4 : Decoding error when we
> are making a search call to LDAP server (with SSL and without SSL) under
> load with multi threading.
> 
> Here are few log messages related to -4: decoding error
> 
> [...]
>
> Could you please look into this and provide any solution available for this
> issue?

Hi, check the data that's being sent back to you is valid search
entries/responses etc.

As you are writing your application, check that you are aligned with the
API documentation (manpages) as well. If you can produce a set up that
reliably recreates the condition and everything in the documentation and
protocol specs leads you to believe it's an OpenLDAP library or server
bug, open a ticket at bugs.openldap.org and help the project with
investigation and fixing.

Thanks,

-- 
Ondřej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP

Reply via email to